
[Math] Add vector transformation by quaternion
Posted Wednesday, 15 July, 2009 - 18:45 by kvark| Project: | The Open Toolkit library |
| Version: | 1.0-beta-1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Need something like:
public static Vector3 Vector3::TransformPoint(Vector3 vec, Quaternion quat)
in order to rotate the point by the given quaternion


Comments
#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?
#12
Issue filed as #1367: Vector[234] contains C# 3.0 code.