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
|
@ -2697,10 +2697,10 @@ void S3L_drawScene(S3L_Scene scene)
|
||||||
|
|
||||||
triangleIndex = 0;
|
triangleIndex = 0;
|
||||||
|
|
||||||
|
model = &(scene.models[modelIndex]);
|
||||||
|
|
||||||
while (triangleIndex < triangleCount)
|
while (triangleIndex < triangleCount)
|
||||||
{
|
{
|
||||||
model = &(scene.models[modelIndex]);
|
|
||||||
|
|
||||||
/* Some kind of cache could be used in theory to not project perviously
|
/* Some kind of cache could be used in theory to not project perviously
|
||||||
already projected vertices, but after some testing this was abandoned,
|
already projected vertices, but after some testing this was abandoned,
|
||||||
no gain was seen. */
|
no gain was seen. */
|
||||||
|
|
Loading…
Reference in a new issue