terrain-zodiacs -- Changes made for rendering zodiacs on regular terrain.

This commit is contained in:
Marc Chapman 2017-07-26 22:10:56 +01:00
parent 3219735087
commit 00e3eb6ba8
6 changed files with 194 additions and 0 deletions

View file

@ -20,6 +20,11 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
// Copyright (C) 2015 Faust Logic, Inc.
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
#ifndef _TERRCELL_H_
#define _TERRCELL_H_
@ -226,6 +231,13 @@ public:
void renderBounds() const;
/// @}
protected:
Point3F* zode_vertexBuffer;
void createZodiacVertexBuffer();
public:
const Point3F* getZodiacVertexBuffer();
void deleteZodiacVertexBuffer();
static void createZodiacPrimBuffer(U16** primBuffer);
};
inline F32 TerrCell::getDistanceTo( const Point3F &pt ) const