diff options
author | Chris Want <cwant@ualberta.ca> | 2006-05-11 21:42:58 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2006-05-11 21:42:58 +0400 |
commit | d3dd1da8d429ea72ad42afe4b34692c345ef8c78 (patch) | |
tree | 22ef7865718b132061e1324669c0e65b6108efd5 /source/gameengine/GameLogic/SCA_IObject.h | |
parent | cfbbd8a54e5a8f1446c1644dc5469ba52f3b67ba (diff) |
The algorithm to export vertex color was very inefficient (for every
vertex it would potentially loop through every face). This fix speeds
it up a bit (only loops through all faces once, at the cost of some
additional memory). An example of export times for a mesh with 6266
verts and 12528 faces:
Before: 2m56s
After: 8s
Diffstat (limited to 'source/gameengine/GameLogic/SCA_IObject.h')
0 files changed, 0 insertions, 0 deletions