Skip to content

Commit

Permalink
Changed to use new matrix identity convention
Browse files Browse the repository at this point in the history
  • Loading branch information
gecko0307 committed Oct 11, 2013
1 parent da29897 commit 528994e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dlib/geometry/obb.d
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ module dlib.geometry.obb;
private
{
import dlib.math.vector;
import dlib.math.matrix3x3;
import dlib.math.matrix4x4;
import dlib.math.matrix;
}

struct OBB
Expand All @@ -42,7 +41,7 @@ struct OBB

this(Vector3f position, Vector3f size)
{
transform = identityMatrix4x4f();
transform = Matrix4x4f.identity;
center = position;
extent = size;
}
Expand Down

0 comments on commit 528994e

Please sign in to comment.