Module crystal_ball::math[][src]

Expand description

Data Types and functions related to math with focus on vectors.

Structs

Hit

The intersection of a ray with an object.

Ray

A ray (half-line).

Vec3

A 3D vector. This struct supports elementwise arithmetic operations (+, -, *, /). In addition dot and cross are provided.