kvark's picture

[Math] Add vector transformation by quaternion

Project:The Open Toolkit library
Version:1.0-beta-1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Need something like:
public static Vector3 Vector3::TransformPoint(Vector3 vec, Quaternion quat)
in order to rotate the point by the given quaternion


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kvark's picture

#11

Hm... just updated to trunk. Sorry for the delay.
Can't build OpenTK. All errors reported are from lines like:
Quaternion v = new Quaternion() { X = vec.X, Y = vec.Y, Z = 0, W = 0 };
; expected (CS1002) - C:\svn\opentk\Source\OpenTK\Math\Vector2.cs:911,82

Using #D 3.5 to build. Am I missing something?

the Fiddler's picture

#12