From c363af4b17e9c0ee12f3959baac828586bc8ae7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sat, 17 May 2014 14:33:30 +0000 Subject: [PATCH] [EXAMPLES] * NeHeTutorial: Fix compilation error. git-svn-id: svn://localhost/gambas/trunk@6271 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- examples/examples/OpenGL/NeHeTutorial/.project | 4 ++-- examples/examples/OpenGL/NeHeTutorial/.src/Example42.module | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/examples/OpenGL/NeHeTutorial/.project b/examples/examples/OpenGL/NeHeTutorial/.project index 29fb8f864..221e6b34a 100644 --- a/examples/examples/OpenGL/NeHeTutorial/.project +++ b/examples/examples/OpenGL/NeHeTutorial/.project @@ -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 diff --git a/examples/examples/OpenGL/NeHeTutorial/.src/Example42.module b/examples/examples/OpenGL/NeHeTutorial/.src/Example42.module index 88515856d..0e3f7f83d 100644 --- a/examples/examples/OpenGL/NeHeTutorial/.src/Example42.module +++ b/examples/examples/OpenGL/NeHeTutorial/.src/Example42.module @@ -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