Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a088d9
)
ecere/gfx/3D/Mesh: Added member to access 32 bit indices
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 15 Apr 2014 20:34:37 +0000
(16:34 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 15 Apr 2014 20:34:37 +0000
(16:34 -0400)
ecere/src/gfx/3D/Mesh.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gfx/3D/Mesh.ec
b/ecere/src/gfx/3D/Mesh.ec
index
f48ac61
..
bf312b1
100644
(file)
--- a/
ecere/src/gfx/3D/Mesh.ec
+++ b/
ecere/src/gfx/3D/Mesh.ec
@@
-48,7
+48,7
@@
public:
PrimitiveGroupType type;
union
{
- struct { u
int16 * indices
; int nIndices; };
+ struct { u
nion { uint16 * indices; uint * indices32; }
; int nIndices; };
struct { int first, nVertices; };
};
Material material;
@@
-62,7
+62,7
@@
public:
PrimitiveGroupType type;
union
{
- struct { u
int16 * indices
; int nIndices; };
+ struct { u
nion { uint16 * indices; uint * indices32; }
; int nIndices; };
struct { int first, nVertices; };
};
Material material;