mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
cleanup
This commit is contained in:
parent
8d80c06f02
commit
ba993eccd4
2 changed files with 0 additions and 4 deletions
|
@ -56,8 +56,6 @@
|
|||
|
||||
this.props = Entities.getEntityProperties(this.entityID, ["position", "rotation"]);
|
||||
var forwardVec = Quat.getFront(Quat.multiply(this.props.rotation, Quat.fromPitchYawRollDegrees(-90, 0, 0)));
|
||||
// forwardVec = Vec3.normalize(forwardVec);
|
||||
// var forwardQuat = orientationOf(forwardVec);
|
||||
var forwardQuat = Quat.rotationBetween(Vec3.UNIT_Z, forwardVec);
|
||||
var position = Vec3.sum(this.props.position, Vec3.multiply(Quat.getFront(this.props.rotation), 0.1));
|
||||
position.z += 0.1;
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
(function() {
|
||||
Script.include("../../libraries/utils.js");
|
||||
var _this;
|
||||
// this is the "constructor" for the entity as a JS object we don't do much here
|
||||
var LIFETIME = 6000;
|
||||
var DRAWING_DEPTH = 0.8;
|
||||
var LINE_DIMENSIONS = 100;
|
||||
|
@ -48,7 +47,6 @@
|
|||
lifetime: LIFETIME
|
||||
});
|
||||
|
||||
|
||||
this.points = [];
|
||||
this.normals = [];
|
||||
this.strokeWidths = [];
|
||||
|
|
Loading…
Reference in a new issue