View Source Rayex.Models (Rayex v0.0.3)
Models related functions
Summary
Functions
@spec draw_cube( Rayex.Structs.Vector3.t(), float(), float(), float(), Rayex.Structs.Color.t() ) :: :ok
Draw cube
@spec draw_cube_wires( Rayex.Structs.Vector3.t(), float(), float(), float(), Rayex.Structs.Color.t() ) :: :ok
Draw cube wires
@spec draw_grid(non_neg_integer(), float()) :: :ok
Draw a grid (centered at (0, 0, 0))
@spec draw_ray(Rayex.Structs.Ray.t(), Rayex.Structs.Color.t()) :: :ok
Draw a ray line