Module nyx_space::utils[][src]

Include utility functions shared by different modules, and which may be useful to engineers.

Functions

between_0_360

Returns the provided angle bounded between 0.0 and 360.0

between_pm_180

Returns the provided angle bounded between -180.0 and +180.0

factorial
is_diagonal

Returns whether the provided square matrix (3x3) is diagonal

kronecker
r1

Returns a rotation about the X axis. The angle must be provided in radians.

r2

Returns a rotation about the Y axis. The angle must be provided in radians.

r3

Returns a rotation about the Z axis. The angle must be provided in radians.

tilde_matrix

Returns the tilde matrix from the provided Vector3.