odgevector3d::angleonplane() returns incorrect value
odgevector3d::angleonplane() returns incorrect value
hi,
odgevector3d::angleonplane(odgeplanarent plane) used to return correct angle values, but the latest release returns either 0.0 or pi.
is it bug in oda's code? any way to fix it from my code?
thanks,
samir
it looks like it was never working...
in which version did it work correctly?
you may use
code:
odgeplanarent:

roject()
odgeplanarent::get()
odgevector3d::angleto()
to calculate the angle
vladimir
quote:
originally posted by wvk
it looks like it was never working...
in which version did it work correctly?
it used to work in 2.02.8 version.
quote:
originally posted by wvk
you may use
code:
odgeplanarent:

roject()
odgeplanarent::get()
odgevector3d::angleto()
to calculate the angle
thanks for suggestion, it works perfect by projecting point and then calculating angle by passing reference vector.
last edited by
sjaiswal@hachisoft.com; 8th october 2007 at 10:34 amfff">.