Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
vertex.h
Go to the documentation of this file.
1
#ifndef GFXVERTEX_H
2
#define GFXVERTEX_H
3
4
struct
glVertex
5
{
6
float
s
;
7
float
t
;
8
float
i
;
9
float
j
;
10
float
k
;
11
float
x
;
12
float
y
;
13
float
z
;
14
glVertex
&
SetTexCoord
(
float
s
,
float
t
)
15
{
16
this->s =
s
;
17
this->t =
t
;
18
return
*
this
;
19
}
20
glVertex
&
SetNormal
(
const
Vector
&norm )
21
{
22
i
= norm.i;
23
j
= norm.j;
24
k
= norm.k;
25
return
*
this
;
26
}
27
glVertex
&
SetVertex
(
const
Vector
&
vert
)
28
{
29
x
= vert.i;
30
y
= vert.j;
31
z
= vert.k;
32
return
*
this
;
33
}
34
};
35
36
#endif
37
src
gfx
vertex.h
Generated on Fri May 29 2015 23:07:29 for Vegastrike 0.5.1 rc1 by
1.8.4