VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
ctdb
c7bTerrainElement16.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: c7bTerrainElement16.h,v $ $Revision: 1.10 $ $State: Exp $
7
*******************************************************************************/
8
9
//
10
// File c7bTerrainElement16
11
//
12
13
14
#ifndef __DtC7bTerrainElement16
15
#define __DtC7bTerrainElement16
16
17
#include "
ctdb/ctdbDefines.h
"
18
#include <stdio.h>
19
#include "
ctdb/c7NetTypes.h
"
20
21
// Class: DtC7bTerrainElement16
22
//
23
// The class is public because should not be used but anyone else than
24
// DtC7b.
25
//
26
27
class
DT_DLL_ctdb
DtC7bTerrainElement16
28
{
29
public
:
30
31
DtC7bTerrainElement16
();
32
~
DtC7bTerrainElement16
();
33
34
bool
read(FILE *f);
35
36
bool
isTriangle();
37
bool
isQuadrilateral();
38
39
int
vertices();
40
int
soil0();
41
int
soil1();
42
43
void
swapEndian();
44
DtC7NetU16
myY
;
45
DtC7NetU16
myX
;
46
DtC7NetFloat32
myZ
;
47
DtC7NetU16
myAdjacents[4];
48
DtC7NetU16
myIndex[4];
49
DtC7NetU32
myTEData
;
50
};
51
52
#endif
53
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)