mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-22 20:49:58 +01:00
Move line before loop
This commit is contained in:
parent
efa5ba9b24
commit
c5a79262fb
1 changed files with 2 additions and 2 deletions
|
@ -2696,11 +2696,11 @@ void S3L_drawScene(S3L_Scene scene)
|
|||
S3L_Index triangleCount = scene.models[modelIndex].triangleCount;
|
||||
|
||||
triangleIndex = 0;
|
||||
|
||||
model = &(scene.models[modelIndex]);
|
||||
|
||||
while (triangleIndex < triangleCount)
|
||||
{
|
||||
model = &(scene.models[modelIndex]);
|
||||
|
||||
/* Some kind of cache could be used in theory to not project perviously
|
||||
already projected vertices, but after some testing this was abandoned,
|
||||
no gain was seen. */
|
||||
|
|
Loading…
Reference in a new issue