summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-10-20 21:20:24 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-10-21 00:31:16 -0700
commitb5f8cd8d54e1679016361e7dbefba80c48ee5c8e (patch)
tree6fb3e4796d3fbf4be89bff1ab703805a7e5b2fba
parent1b258b21770d3c46e16ca74433bff98d0ad2466e (diff)
Move initial control points to more sensible locations.
With the original points, the straight line paths caused the camera to pass through the spheres. Signed-off-by: Ian Romanick <idr@freedesktop.org>
-rwxr-xr-xsrc/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b2d5091..4ebcacd 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -42,9 +42,9 @@ static GLUvec4 eye(0.0, 1.5f, 10.0f, 0.0f);
* Points in 3-space that the camera must hit.
*/
static const GLUvec4 linear_control_points[] = {
- GLUvec4(0.0, 1.5f, 10.0f, 0.0f),
- GLUvec4(10.0, 1.5f, 0.0f, 0.0f),
- GLUvec4(-30.0, 1.5f, -30.0f, 0.0f),
+ GLUvec4(0.0, 5.5f, 10.0f, 0.0f),
+ GLUvec4(15.0, 5.5f, 0.0f, 0.0f),
+ GLUvec4(-20.0, 1.5f, -20.0f, 0.0f),
};
/**