bythefire/src/torch.odin

15 lines
231 B
Odin

package main
import rl "vendor:raylib"
Torch :: struct {
using entity: Entity,
}
torch_texture : rl.Texture
torch_draw :: proc(torch: ^Torch) {
rl.DrawBillboard(CAMERA^, TEXTURES["torch.png"], torch.position, 4, rl.WHITE)
}