[EXAMPLES]
* NeHeTutorial: Fix compilation error. git-svn-id: svn://localhost/gambas/trunk@6271 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
35cc07864e
commit
c363af4b17
2 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
# Gambas Project File 3.0
|
||||
# Compiled with Gambas 3.1.90
|
||||
# Compiled with Gambas 3.5.90
|
||||
Title=OpenGL tutorials from NeHe
|
||||
Startup=MMain
|
||||
Icon=icon.png
|
||||
Version=3.1.90
|
||||
Version=3.5.90
|
||||
VersionFile=1
|
||||
Component=gb.image
|
||||
Component=gb.image.io
|
||||
|
|
|
@ -90,7 +90,7 @@ Public Sub TexturedCylinder(radius As Float, height As Float, slices As Integer)
|
|||
Dim size As Integer
|
||||
Dim angle As Float
|
||||
|
||||
angle As Float = 2 * Pi / (- slices)
|
||||
angle = 2 * Pi / (- slices)
|
||||
sint[0] = 0.0
|
||||
cost[0] = 1.0
|
||||
For i = 1 To slices
|
||||
|
|
Loading…
Reference in a new issue