km-engine v0.5.0 (2020-08-08T12:12:50Z)
Dub
Repo
TileMesh.draw2d
engine
render
tile
TileMesh
Draws the tile on a 2D plane
class
TileMesh
void
draw2d
(
Camera2D
camera
,
vec2
position
,
float
scale
= 1
,
quat
rotation
=
quat.identity
)
Meta
Source
See Implementation
engine
render
tile
TileMesh
constructors
this
destructors
~this
functions
draw
draw2d
setTexture
static functions
begin
end
Draws the tile on a 2D plane