Subversion Repositories gelsvn

Rev

Rev 89 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 501
Line 35... Line 35...
35
  Mat3x3f scaling_Mat3x3f(const Vec3f&);
35
  Mat3x3f scaling_Mat3x3f(const Vec3f&);
36
 
36
 
37
  /// Create an identity matrix.
37
  /// Create an identity matrix.
38
  inline Mat3x3f identity_Mat3x3f()
38
  inline Mat3x3f identity_Mat3x3f()
39
    {
39
    {
40
      return Mat3x3f(Vec3f(1,0,0), Vec3f(0,1,0), Vec3f(0,0,1));
40
      return Mat3x3f(Vec3f(1.0f,0.0f,0.0f), Vec3f(0.0f,1.0f,0.0f), Vec3f(0.0f,0.0f,1.0f));
41
    }
41
    }
42
 
42
 
43
}
43
}
44
#endif
44
#endif
45
 
45