Float precision error could cause RKEY to start with 0.02 degree rotation.
authorTon Roosendaal <ton@blender.org>
Sun, 5 Jun 2005 12:24:35 +0000 (12:24 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 5 Jun 2005 12:24:35 +0000 (12:24 +0000)
commitf99b6a304249b9645bbaa3c20abc282e899a512d
treeb8572acd392301aba6cd874d989236dc70c28493
parentf38e0686d909aa0d2882c197aeff59eeefa17081
Float precision error could cause RKEY to start with 0.02 degree rotation.
This because the used integer+float division could result in a
9.999999e-01 value, which is for acos() to return 3.452670e-04.

Converted the division to use doubles instead.
source/blender/src/transform.c