Nextrek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package min3d.vos;
/**
* Simple VO with three properties representing vertex indicies.
* Is not necessary for functioning of engine, just a convenience.
*/
public class Face
{
public short a;
public short b;
public short c;
public Face(short $a, short $b, short $c)
{
a = $a;
b = $b;
c = $c;
}
/**
* Convenience method to cast int arguments to short's
*/
public Face(int $a, int $b, int $c)
{
a = (short) $a;
b = (short) $b;
c = (short) $c;
}
}
|
Revision |
Author |
Commited |
Message |
4
|
FMMortaroli
|
Fri 19 Apr, 2013 16:54:38 +0000 |
|