diff options
author | neoraider <devnull@localhost> | 2006-10-24 17:04:02 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-10-24 17:04:02 +0200 |
commit | c3580f59f70d862eee8727a7ee88074998e945d4 (patch) | |
tree | bd021ab97a69da8fe18dbe308673213622bc4690 | |
parent | 1021d32f7ccb9f3f10253934fd4e5202b7382b2d (diff) | |
download | libneofx-c3580f59f70d862eee8727a7ee88074998e945d4.tar libneofx-c3580f59f70d862eee8727a7ee88074998e945d4.zip |
Beleuchtung und Rendering ge?ndert, um Schatten zu erm?glichen.
-rw-r--r-- | neofx/types.h | 11 |
1 files 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;
|