Browse Source

Proper Float3 constructors.

legacy
Sam Hocevar sam 14 years ago
parent
commit
6223c37bb2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/matrix.h

+ 3
- 0
src/matrix.h View File

@@ -21,6 +21,9 @@ struct Float2


struct Float3 struct Float3
{ {
Float3() { x = y = z = 0.0f; }
Float3(float _x, float _y, float _z) { x = _x; y = _y; z = _z; }

float x, y, z; float x, y, z;
}; };




Loading…
Cancel
Save