Module immediate_geometry

Procs

proc begin*(self: ImmediateGeometry; primitive: int64; texture: Texture = nil) {.
gcsafe, locks: 0
.}
proc setNormal*(self: ImmediateGeometry; normal: Vector3) {.
gcsafe, locks: 0
.}
proc setTangent*(self: ImmediateGeometry; tangent: Plane) {.
gcsafe, locks: 0
.}
proc setColor*(self: ImmediateGeometry; color: Color) {.
gcsafe, locks: 0
.}
proc setUv*(self: ImmediateGeometry; uv: Vector2) {.
gcsafe, locks: 0
.}
proc setUv2*(self: ImmediateGeometry; uv: Vector2) {.
gcsafe, locks: 0
.}
proc addVertex*(self: ImmediateGeometry; pos: Vector3) {.
gcsafe, locks: 0
.}
proc addSphere*(self: ImmediateGeometry; lats: int64; lons: int64; radius: float64;
               addUv: bool = true) {.
gcsafe, locks: 0
.}
proc endd*(self: ImmediateGeometry) {.
gcsafe, locks: 0
.}
proc clear*(self: ImmediateGeometry) {.
gcsafe, locks: 0
.}