Torque3D Documentation / _generateds / engineStructs.h

engineStructs.h

Engine/source/console/engineStructs.h

Definitions for the core engine structured types.

More...

Namespaces:

namespace

Detailed Description

Definitions for the core engine structured types.

Public Functions

DECLARE_STRUCT_R(ColorI )

DECLARE_STRUCT_R(LinearColorF )

DECLARE_STRUCT_R(PlaneF )

DECLARE_STRUCT_R(PolyhedronData::Edge )

DECLARE_STRUCT_R(Torque::UUID )

DECLARE_STRUCT_R(Vector< bool > )

DECLARE_STRUCT_R(Vector< const char * > )

DECLARE_STRUCT_R(Vector< F32 > )

DECLARE_STRUCT_R(Vector< PlaneF > )

DECLARE_STRUCT_R(Vector< Point3F > )

DECLARE_STRUCT_R(Vector< PolyhedronData::Edge > )

DECLARE_STRUCT_R(Vector< S32 > )

 1
 2//-----------------------------------------------------------------------------
 3// Copyright (c) 2012 GarageGames, LLC
 4//
 5// Permission is hereby granted, free of charge, to any person obtaining a copy
 6// of this software and associated documentation files (the "Software"), to
 7// deal in the Software without restriction, including without limitation the
 8// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 9// sell copies of the Software, and to permit persons to whom the Software is
10// furnished to do so, subject to the following conditions:
11//
12// The above copyright notice and this permission notice shall be included in
13// all copies or substantial portions of the Software.
14//
15// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21// IN THE SOFTWARE.
22//-----------------------------------------------------------------------------
23
24#ifndef _ENGINESTRUCTS_H_
25#define _ENGINESTRUCTS_H_
26
27#ifndef _ENGINETYPES_H_
28   #include "console/engineTypes.h"
29#endif
30
31#include "math/mPlane.h"
32#include "math/mPolyhedron.h"
33
34/// @file
35/// Definitions for the core engine structured types.
36
37
38template< typename T > class Vector;
39namespace Torque {
40   class UUID;
41}
42
43class ColorI;
44class LinearColorF;
45
46
47DECLARE_STRUCT_R(Vector< bool>);
48DECLARE_STRUCT_R(Vector< S32>);
49DECLARE_STRUCT_R(Vector< F32>);
50DECLARE_STRUCT_R(Vector< Point3F>);
51DECLARE_STRUCT_R(PlaneF);
52DECLARE_STRUCT_R(Vector< PlaneF>);
53DECLARE_STRUCT_R(PolyhedronData::Edge);
54DECLARE_STRUCT_R(Vector< PolyhedronData::Edge>);
55DECLARE_STRUCT_R(Vector< const char*>);
56DECLARE_STRUCT_R(Torque::UUID);
57DECLARE_STRUCT_R(ColorI);
58DECLARE_STRUCT_R(LinearColorF);
59
60#endif // !_ENGINESTRUCTS_H_
61