[−][src]Type Definition tokyo::geom::Radian
type Radian = Angle<f32>;
The game server expects angles to be in radians. See euclid
documentation
for its API, but you'll mostly need new
to create and get
to retrieve
radians. Radian::degrees
method crates Radian
from a value in degrees, which may
be handy. Radian::positive
may also be useful if you want to normalize the
radian to be [0, 2PI).