rotateAboutAxis

3D rotates (x, y, z) theta radians about the axis represented by unit-vector (u, v, w), putting the results in (s1, s2, s3).

For example, to rotate about the Y axis, pass (0, 1, 0) as (u, v, w).

void
rotateAboutAxis
(
float theta
,
float x
,
float y
,
float z
,
float u
,
float v
,
float w
,
out float xp
,
out float yp
,
out float zp
)

Meta