mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-28 07:45:40 +00:00
updated drawmodes and rendering
DebugDraw for recast now caches the results We now have a drawmode dropdown selector drawmode changes come from the gui itself no longer from console values all recast drawmodes are supported with the exception of drawmodes that add abilities like navqueries until the nav tester tool is imlpemented.
This commit is contained in:
parent
30b9502e90
commit
d1771756c2
12 changed files with 548 additions and 53 deletions
|
|
@ -61,6 +61,8 @@ public:
|
|||
U32 getVertCount() const;
|
||||
const F32 *getVerts() const;
|
||||
|
||||
const F32* getNormals() const;
|
||||
|
||||
U32 getTriCount() const;
|
||||
const S32 *getTris() const;
|
||||
|
||||
|
|
@ -85,6 +87,13 @@ protected:
|
|||
/// Size of vertex array.
|
||||
U32 vertcap;
|
||||
|
||||
// Number of normals defined.
|
||||
U32 nnormals;
|
||||
// Array of normals (xyz in float array)
|
||||
F32* normals;
|
||||
// Size of normal array (matches verts)
|
||||
U32 normalcap;
|
||||
|
||||
/// Number of triangles defined.
|
||||
U32 ntris;
|
||||
/// Array of triangle vertex indices. Size ntris*3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue