Skip to content

Commit

Permalink
Merge pull request #1108 from evax/fixTyposInDynamicObjectView
Browse files Browse the repository at this point in the history
Fix typos in DynamicObjectView
  • Loading branch information
mramato committed Sep 3, 2013
2 parents 5d81084 + 6070538 commit f63c4d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/DynamicScene/DynamicObjectView.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ define([
var toInertialDelta = Transforms.computeFixedToIcrfMatrix(deltaTime, update3DMatrix3Scratch2);
var toFixed;

if (!defined(toInertial) || defined(toInertialDelta)) {
if (!defined(toInertial) || !defined(toInertialDelta)) {
toFixed = Transforms.computeTemeToPseudoFixedMatrix(time, update3DMatrix3Scratch3);
toInertial = Matrix3.transpose(toFixed, update3DMatrix3Scratch1);
toInertialDelta = Transforms.computeTemeToPseudoFixedMatrix(deltaTime, update3DMatrix3Scratch2);
Expand Down Expand Up @@ -339,7 +339,7 @@ define([
this._lastDynamicObject = dynamicObject;

var viewFromProperty = this.dynamicObject.viewFrom;
if (!defined(viewFromProperty) || defined(viewFromProperty.getValue(time, offset))) {
if (!defined(viewFromProperty) || !defined(viewFromProperty.getValue(time, offset))) {
Cartesian3.clone(dynamicObjectViewDefaultOffset, offset);
}

Expand Down

0 comments on commit f63c4d0

Please sign in to comment.