From 6223c37bb28d52b0839410693db1bfc650d454c2 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 22 Aug 2010 00:55:38 +0000 Subject: [PATCH] Proper Float3 constructors. --- src/matrix.h | 3 +++ 1 file changed, 3 insertions(+) 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; };