From c3580f59f70d862eee8727a7ee88074998e945d4 Mon Sep 17 00:00:00 2001 From: neoraider Date: Tue, 24 Oct 2006 15:04:02 +0000 Subject: Beleuchtung und Rendering ge?ndert, um Schatten zu erm?glichen. --- neofx/types.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/neofx/types.h b/neofx/types.h index 8586545..7b46c55 100644 --- a/neofx/types.h +++ b/neofx/types.h @@ -6,9 +6,14 @@ typedef union _MATRIX { float f[16]; } MATRIX; -typedef struct _VECTOR_VERTEX_ROTATION { - float x, y, z; -} VECTOR, VERTEX, ROTATION; +typedef union _VECTOR_VERTEX_ROTATION_COLOR { + struct { + float x, y, z; + }; + struct { + float r, g, b; + }; +} VECTOR, VERTEX, ROTATION, COLOR; typedef struct _TEXCOORDS { float s, t; -- cgit v1.2.3