Function cgl_rs::graphics::widgets::add_triangle
source · pub fn add_triangle(a: Vector3, b: Vector3, c: Vector3)
Expand description
Adds a triangle to the current frame.
Arguments
a
- AVector3
representing the first vertex of the triangle.b
- AVector3
representing the second vertex of the triangle.c
- AVector3
representing the third vertex of the triangle.