Home
last modified time | relevance | path

Searched hist:e18a08119d6f8e0a1cdab67c967b416272b8bc15 (Results 1 – 1 of 1) sorted by relevance

/haiku/src/apps/glteapot/
H A DGLObject.cppe18a08119d6f8e0a1cdab67c967b416272b8bc15 Sun Feb 23 16:56:47 UTC 2020 X512 <danger_mail@list.ru> 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>