Skip to content

Commit

Permalink
Euler: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Apr 14, 2021
1 parent 354f955 commit a7b8ed2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/math/Euler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Quaternion } from './Quaternion.js';
import { Vector3 } from './Vector3.js';
import { Matrix4 } from './Matrix4.js';
import * as MathUtils from './MathUtils.js';
import { clamp } from './MathUtils.js';

const _matrix = /*@__PURE__*/ new Matrix4();
const _quaternion = /*@__PURE__*/ new Quaternion();
Expand Down Expand Up @@ -103,8 +103,6 @@ class Euler {

setFromRotationMatrix( m, order, update ) {

const clamp = MathUtils.clamp;

// assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)

const te = m.elements;
Expand Down

0 comments on commit a7b8ed2

Please sign in to comment.