Float fields working
This commit is contained in:
@@ -1409,6 +1409,8 @@ make_point :: (x: float, y: float, s: float, t: float, color: Vector4) -> Point
|
||||
}
|
||||
|
||||
get_text_size :: (using renderer: *Renderer, text: string, font_handle: Font_Handle) -> Vector2 {
|
||||
if text.count == 0 return .{0,0};
|
||||
|
||||
size : Vector2;
|
||||
|
||||
font := *engine.renderer.fonts[font_handle - 1];
|
||||
|
||||
Reference in New Issue
Block a user