source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/vrippack-0.31/src/softrender/sl_vertex.H @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 1.7 KB
Line 
1/*
2
3Homan Igehy
4
5Computer Graphics Laboratory
6Stanford University
7
8---------------------------------------------------------------------
9
10Copyright (1997) The Board of Trustees of the Leland Stanford Junior
11University. Except for commercial resale, lease, license or other
12commercial transactions, permission is hereby given to use, copy,
13modify this software for academic purposes only.  No part of this
14software or any derivatives thereof may be used in the production of
15computer models for resale or for use in a commercial
16product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
17CONCERNING 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
34typedef struct IS_Vertex_None {
35  Real x, y;
36} IS_Vertex_None;
37
38typedef struct IS_Vertex_Z {
39  Real x, y;
40  Real Z;
41} IS_Vertex_Z;
42
43typedef struct IS_Vertex_ZI {
44  Real x, y;
45  Real Z, I;
46} IS_Vertex_ZI;
47
48typedef struct IS_Vertex_ZCA {
49  Real x, y;
50  Real Z, C, A;
51} IS_Vertex_ZCA;
52
53typedef struct IS_Vertex_ZRGB {
54  Real x, y;
55  Real Z, R, G, B;
56} IS_Vertex_ZRGB;
57
58
59typedef struct IS_CAttr_C {
60  Integer32 C;
61} IS_CAttr_C;
62
63typedef struct IS_CAttr_A {
64  Real A;
65} IS_CAttr_A;
66
67typedef struct IS_CAttr_T {
68  TextureMap T;
69} IS_CAttr_T;
70
71typedef struct IS_CAttr_None {
72} IS_CAttr_None;
73
74
75typedef struct IS_Vertex_ZRGBA {
76  Real x, y;
77  Real Z, R, G, B, A;
78} IS_Vertex_ZRGBA;
79
80typedef struct IS_Vertex_ZCAUVW {
81  Real x, y;
82  Real Z, C, A, U, V, W;
83} IS_Vertex_ZCAUVW;
84
85typedef struct IS_Vertex_ZRGBUVW {
86  Real x, y;
87  Real Z, R, G, B, U, V, W;
88} IS_Vertex_ZRGBUVW;
89
90typedef 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 */
Note: See TracBrowser for help on using the repository browser.