Modules§
- airbase
- attribute
- coalition
- controller
- coord
- country
- dcs
- env
- event
- group
- hooks
- land
- lfs
- mission_
commands - net
- object
- perf
- spot
- static_
object - timer
- trigger
- unit
- warehouse
- weapon
- world
Macros§
Structs§
Enums§
Traits§
Functions§
- as_tbl
- as_
tbl_ ref - azumith2d
- azumith2d_
to - azumith3d
- azumith3d_
to - centroid2d
- centroid3d
- change_
heading - change the heading (in radians) by the specified amount, adjusting if it rotates through 0/2 pi.
e.g.
change_heading(3/2 pi, pi) -> pi / 2 not 5 / 2 pi
- create_
root_ module - cvt_err
- degrees_
to_ radians - err
- is_
hooks_ env - lua_err
- normal2
- pointing_
towards2 - return a unit vector pointing in the specified direction. angle is in radians
- radians_
to_ degrees - rotate2d
- Rotate a collection of points in 2d space around their center point keeping the relative orientations of the points constant. The angle is in radians.
- rotate2d_
gen - Rotate a collection of points in 2d space around their center point keeping the relative orientations of the points constant. The angle is in radians. General about the underlying point container type
- rotate2d_
vec - Same as rotate2d, but construct and return a vec containing the rotated points in the same order as the they appear in the input slice.
- value_
to_ json - wrap
- wrap_f