Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-06-30 17:41:19 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-06-30 17:41:19 +0400
commitc9b4585618ea72f61c4671d4734c9e48b6ce6745 (patch)
treec085b7a47ce5db91e1b825419a7353a412431354 /source/gameengine/Rasterizer/RAS_MaterialBucket.h
parent09d3007b7148c6a0089c1cddcd7c463639d291cd (diff)
Switch to using floats instead of shorts for normal data - they're supposed to be faster.
Also use shorts instead of ints for the index data, since index arrays are limited anyhow.
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_MaterialBucket.h')
-rw-r--r--source/gameengine/Rasterizer/RAS_MaterialBucket.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/gameengine/Rasterizer/RAS_MaterialBucket.h b/source/gameengine/Rasterizer/RAS_MaterialBucket.h
index 480bd9f1d11..182ef1920ce 100644
--- a/source/gameengine/Rasterizer/RAS_MaterialBucket.h
+++ b/source/gameengine/Rasterizer/RAS_MaterialBucket.h
@@ -44,11 +44,10 @@
#include <set>
using namespace std;
-typedef vector< vector<class RAS_TexVert>* > vecVertexArray;
-typedef vector<unsigned int> KX_IndexArray;
+typedef vector<unsigned short> KX_IndexArray;
typedef vector< KX_IndexArray* > vecIndexArrays;
-
typedef vector<RAS_TexVert> KX_VertexArray;
+typedef vector< KX_VertexArray* > vecVertexArray;
/**