[37] | 1 | /* |
---|
| 2 | |
---|
| 3 | Homan Igehy |
---|
| 4 | |
---|
| 5 | Computer Graphics Laboratory |
---|
| 6 | Stanford University |
---|
| 7 | |
---|
| 8 | --------------------------------------------------------------------- |
---|
| 9 | |
---|
| 10 | Copyright (1997) The Board of Trustees of the Leland Stanford Junior |
---|
| 11 | University. Except for commercial resale, lease, license or other |
---|
| 12 | commercial transactions, permission is hereby given to use, copy, |
---|
| 13 | modify this software for academic purposes only. No part of this |
---|
| 14 | software or any derivatives thereof may be used in the production of |
---|
| 15 | computer models for resale or for use in a commercial |
---|
| 16 | product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND |
---|
| 17 | CONCERNING THIS SOFTWARE. No support is implied or provided. |
---|
| 18 | |
---|
| 19 | */ |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | /* |
---|
| 23 | * sl_vertex.H |
---|
| 24 | * |
---|
| 25 | */ |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | #ifndef SL_VERTEX_H |
---|
| 29 | #define SL_VERTEX_H |
---|
| 30 | |
---|
| 31 | #include "sl_val.H" |
---|
| 32 | #include "sl_texture.H" |
---|
| 33 | |
---|
| 34 | typedef struct IS_Vertex_None { |
---|
| 35 | Real x, y; |
---|
| 36 | } IS_Vertex_None; |
---|
| 37 | |
---|
| 38 | typedef struct IS_Vertex_Z { |
---|
| 39 | Real x, y; |
---|
| 40 | Real Z; |
---|
| 41 | } IS_Vertex_Z; |
---|
| 42 | |
---|
| 43 | typedef struct IS_Vertex_ZI { |
---|
| 44 | Real x, y; |
---|
| 45 | Real Z, I; |
---|
| 46 | } IS_Vertex_ZI; |
---|
| 47 | |
---|
| 48 | typedef struct IS_Vertex_ZCA { |
---|
| 49 | Real x, y; |
---|
| 50 | Real Z, C, A; |
---|
| 51 | } IS_Vertex_ZCA; |
---|
| 52 | |
---|
| 53 | typedef struct IS_Vertex_ZRGB { |
---|
| 54 | Real x, y; |
---|
| 55 | Real Z, R, G, B; |
---|
| 56 | } IS_Vertex_ZRGB; |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | typedef struct IS_CAttr_C { |
---|
| 60 | Integer32 C; |
---|
| 61 | } IS_CAttr_C; |
---|
| 62 | |
---|
| 63 | typedef struct IS_CAttr_A { |
---|
| 64 | Real A; |
---|
| 65 | } IS_CAttr_A; |
---|
| 66 | |
---|
| 67 | typedef struct IS_CAttr_T { |
---|
| 68 | TextureMap T; |
---|
| 69 | } IS_CAttr_T; |
---|
| 70 | |
---|
| 71 | typedef struct IS_CAttr_None { |
---|
| 72 | } IS_CAttr_None; |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | typedef struct IS_Vertex_ZRGBA { |
---|
| 76 | Real x, y; |
---|
| 77 | Real Z, R, G, B, A; |
---|
| 78 | } IS_Vertex_ZRGBA; |
---|
| 79 | |
---|
| 80 | typedef struct IS_Vertex_ZCAUVW { |
---|
| 81 | Real x, y; |
---|
| 82 | Real Z, C, A, U, V, W; |
---|
| 83 | } IS_Vertex_ZCAUVW; |
---|
| 84 | |
---|
| 85 | typedef struct IS_Vertex_ZRGBUVW { |
---|
| 86 | Real x, y; |
---|
| 87 | Real Z, R, G, B, U, V, W; |
---|
| 88 | } IS_Vertex_ZRGBUVW; |
---|
| 89 | |
---|
| 90 | typedef struct IS_Vertex_ZRGBAUVW { |
---|
| 91 | Real x, y; |
---|
| 92 | Real Z, R, G, B, A, U, V, W; |
---|
| 93 | } IS_Vertex_ZRGBAUVW; |
---|
| 94 | |
---|
| 95 | #endif /* VERTEX_H */ |
---|