bgc-net/BasicGeometry/Rotation3FP32.cs

27 lines
475 B
C#

/*
* Author: Andrey Pokidov
* License: Apache-2.0
* Date: 2 Feb 2019
*/
namespace BGC
{
public struct Rotation3FP32
{
private float angle = 0.0f;
private Vector3FP32 axis;
public Rotation3FP32(Rotation3FP32 rotation)
{
this.angle = rotation.angle;
this.axis = rotation.axis;
}
public void Reset()
{
this.angle = 0.0f;
this.axis.Reset();
}
}
}