twn_draw: texture_region option for draw_billboard()
This commit is contained in:
1 parent
793bd850f6
commit
5a83381ae1
5 files changed
+34
-11
No files matched your search
@@ -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