twn_draw: texture_region option for draw_billboard()
This commit is contained in:
@ -179,6 +179,7 @@ static void draw_terrain(SceneIngame *scn) {
|
||||
draw_billboard("/assets/grasses/10.png",
|
||||
(Vec3){ (float)x, d0 + 0.15f, (float)y },
|
||||
(Vec2){0.3f, 0.3f},
|
||||
NULL,
|
||||
(Color){255, 255, 255, 255}, true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user