Drawing3d documented Class Library

Matrix.Rotation(xyz, Double) Method

returns a rotationmatrix , whose rotation-axis is given by the direction. Angle is the rotationangle.

[Visual Basic]
Public Overloads Shared Sub Rotation( _
   ByVal direction As xyz, _
   ByVal Angle As Double _
)
[C#]
public static Matrix Rotation(
   xyz direction,
   double Angle
);

Parameters

direction
Direction of the rotation
Angle
Rotationangle ain rad

Return Value

Rotationmatrix

See Also

Matrix Class | Drawing3d.Math Namespace | Matrix.Rotation Overload List