diff --git a/src/matrix.h b/src/matrix.h index 5e4ee6be..36c5e74a 100644 --- a/src/matrix.h +++ b/src/matrix.h @@ -21,6 +21,9 @@ struct Float2 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; };