medfall

A super great game engine
Log | Files | Refs

commit 29d82397c3acd244519c7d92bd59914eb9209dbb
parent 97315fc8cf26c3cfb6655c001a5bb54e7b28eb89
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Apr 30 02:19:21 +0300

Fix immediate_sphere

Diffstat:
immediate.cc | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/immediate.cc b/immediate.cc @@ -50,13 +50,13 @@ void immediate_sphere( float sa0 = 0; float sa1 = dsa; - float ca0 = 0; + float ca0 = 1; float ca1 = dca; - for( u32 a = 0; a < subdivisions * 2; a++ ) { + for( u32 a = 0; a < subdivisions * 2 - 2; a++ ) { float sp0 = 0; float sp1 = dsp; - float cp0 = 0; + float cp0 = 1; float cp1 = dcp; for( u32 p = 0; p < subdivisions; p++ ) {