Skip to content
Snippets Groups Projects
Commit a53090b2 authored by Alexander Rose's avatar Alexander Rose
Browse files

removed camera hasNaN checks

parent 7ccd1aa8
No related branches found
No related tags found
No related merge requests found
...@@ -71,13 +71,6 @@ class Camera implements Object3D { ...@@ -71,13 +71,6 @@ class Camera implements Object3D {
this.updatedViewProjection.next(this); this.updatedViewProjection.next(this);
} }
if (Mat4.hasNaN(this.projectionView)) console.error('NaNs in projectionView')
if (Mat4.hasNaN(this.inverseProjectionView)) console.error('NaNs in inverseProjectionView')
if (Mat4.hasNaN(this.view)) console.error('NaNs in view')
if (Mat4.hasNaN(this.projection)) console.error('NaNs in projection')
if (Vec3.hasNaN(snapshot.position)) console.error('NaNs in position')
if (Vec3.hasNaN(snapshot.target)) console.error('NaNs in target')
return changed; return changed;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment