1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! The `rotation_axis` module provides the `RotationAxis` struct, representing an axis of rotation in 3D space.
use ;
use ;
/// Represents an axis of rotation in 3D space.
///
/// # Fields
///
/// - `x`: The x-component of the rotation axis.
/// - `y`: The y-component of the rotation axis.
/// - `z`: The z-component of the rotation axis.
///
/// # Examples
///
/// ```
/// use spatial_hasher::RotationAxis;
///
/// let axis = RotationAxis { x: 0.0, y: 1.0, z: 0.0 };
/// ```