summaryrefslogtreecommitdiffstats
path: root/examples/demo/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/opengl')
-rw-r--r--examples/demo/opengl/fbm.c2
-rw-r--r--examples/demo/opengl/gllandscape.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo/opengl/fbm.c b/examples/demo/opengl/fbm.c
index 4409ae08f..47d5a6163 100644
--- a/examples/demo/opengl/fbm.c
+++ b/examples/demo/opengl/fbm.c
@@ -67,7 +67,7 @@ double fBm( Vector point, double H, double lacunarity, double octaves,
if ( init ) {
start = 1;
srand( time(0) );
- /* seize retquired memory for exponent_array */
+ /* seize required memory for exponent_array */
frequency = 1.0;
for (i=0; i<=octaves; i++) {
/* compute weight for each frequency */
diff --git a/examples/demo/opengl/gllandscape.cpp b/examples/demo/opengl/gllandscape.cpp
index 0aa836687..7336a20c8 100644
--- a/examples/demo/opengl/gllandscape.cpp
+++ b/examples/demo/opengl/gllandscape.cpp
@@ -509,7 +509,7 @@ void GLLandscape::averageNormals()
normals[i-1][k-1].l[t] +
normals[i-1][k].l[t] )/6.0;
} else {
- // Vertices that are on the edge of the height field retquire
+ // Vertices that are on the edge of the height field require
// special attention..
if ( i == 0 && k == 0 ) {
for ( int t = 0; t < 3; t++ )