![]() Quaternions representing rotation should have unit length. Multiplying quaternions cause error accumulation and length change. Normalizing quaternion after rotation will avoid that. Fixes #7160. Change-Id: I82f1f2b89c326a4d2c956c03296600e79ac267c2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2270 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> |
||
---|---|---|
.. | ||
FPS.cpp | ||
FPS.h | ||
GLObject.cpp | ||
GLObject.h | ||
GLTeapot.rdef | ||
Jamfile | ||
LICENSE | ||
ObjectView.cpp | ||
ObjectView.h | ||
Quaternion.h | ||
README.GLTeapot | ||
ResScroll.h | ||
TeapotApp.cpp | ||
TeapotApp.h | ||
TeapotWindow.cpp | ||
TeapotWindow.h | ||
Vector3.h | ||
error.cpp | ||
error.h | ||
glob.h | ||
teapot.h | ||
util.h |
README.GLTeapot
GLTeapot Project README ======================= This is a sample application using Be's OpenGL implementation. It uses a generic object viewer class, ObjectView, to view OpenGL objects created using a generic OpenGL object class, GLObject. Files ===== The archive should contain the following files: README.GLTeapot -- This file GLTeapot.proj -- Metrowerks project file teapot.data -- Teapot vertex data file Teapot.rsrc -- Application resource file GLObject.cpp -- Source files GLObject.h ObjectView.cpp ObjectView.h ResScroll.h error.cpp error..h glob.h teapot_main.cpp util.h