- Timestamp:
- 01/15/09 16:32:50 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Matrix4x4.cpp
r3103 r3279 401 401 402 402 403 // uniform scale 404 Matrix4x4 ScaleMatrix(float x) 405 { 406 Matrix4x4 M = IdentityMatrix(); 407 408 M.x[0][0] = x; 409 M.x[1][1] = x; 410 M.x[2][2] = x; 411 412 return M; 413 } 414 403 415 // Construct a rotation matrix that makes the x, y, z axes 404 416 // correspond to the vectors given.
Note: See TracChangeset
for help on using the changeset viewer.