haiku/src/apps/glteapot
X512 e18a08119d GLTeapot: normalize quaternion
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>
2020-02-24 15:15:12 +00:00
..
FPS.cpp Applied patch by mmadia to truncate FPS to an integer. 2009-11-25 06:03:44 +00:00
FPS.h * fix trailing tabs in FPS.h, thanks Michael! 2007-10-25 13:33:07 +00:00
GLObject.cpp GLTeapot: normalize quaternion 2020-02-24 15:15:12 +00:00
GLObject.h Teapot 3D model data moved to app resources 2011-12-05 22:35:20 +01:00
GLTeapot.rdef GLTeapot: allow multiple instances 2019-04-07 22:00:32 +02:00
Jamfile Remove all invocations of SetSubDirSupportedPlatformsBeOSCompatible. 2019-03-30 15:19:38 -04:00
LICENSE
ObjectView.cpp src/apps Code formatting 2019-01-25 12:40:34 +00:00
ObjectView.h Reworked, as suggested by stippi, to avoid keeping cursors instances of system ones. 2010-09-07 12:14:20 +00:00
Quaternion.h removed executable props 2011-01-26 21:37:25 +00:00
README.GLTeapot
ResScroll.h
TeapotApp.cpp Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again. 2011-03-25 22:13:48 +00:00
TeapotApp.h Removing most About windows and menu items as discussed here 2011-03-26 02:18:52 +00:00
TeapotWindow.cpp Replaced "Preferences"/"Options" with "Settings" 2012-08-15 09:53:38 +02:00
TeapotWindow.h Compiler warning fixes. 2010-06-27 10:17:50 +00:00
Vector3.h removed executable props 2011-01-26 21:37:25 +00:00
error.cpp Compiler warning fixes. 2010-06-27 10:17:50 +00:00
error.h GLTeapot: fix gcc2 build. 2015-07-31 20:15:45 +02:00
glob.h
teapot.h
util.h Use optional package gl headers 2012-01-08 01:42:10 -06:00

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