This commit is contained in:
ericrius1 2015-12-21 18:32:07 -08:00
parent 8d80c06f02
commit ba993eccd4
2 changed files with 0 additions and 4 deletions

View file

@ -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;

View file

@ -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 = [];