27 lines
474 B
C#
27 lines
474 B
C#
/*
|
|
* Author: Andrey Pokidov
|
|
* License: Apache-2.0
|
|
* Date: 2 Feb 2019
|
|
*/
|
|
|
|
namespace BGC
|
|
{
|
|
public struct Rotation3FP64
|
|
{
|
|
private double angle = 0.0;
|
|
|
|
private Vector3FP64 axis;
|
|
|
|
public Rotation3FP64(Rotation3FP64 rotation)
|
|
{
|
|
this.angle = rotation.angle;
|
|
this.axis = rotation.axis;
|
|
}
|
|
|
|
public void Reset()
|
|
{
|
|
this.angle = 0.0;
|
|
this.axis.Reset();
|
|
}
|
|
}
|
|
}
|