Support LINE_F
This commit is contained in:
@@ -45,6 +45,11 @@ namespace JabyEngine {
|
||||
internal::render(reinterpret_cast<const uint32_t*>(&primitive), sizeof(T)/sizeof(uint32_t));
|
||||
}
|
||||
|
||||
template<size_t N>
|
||||
static void render(const LINE_F (&line)[N]) {
|
||||
internal::render(reinterpret_cast<const uint32_t*>(&line), N);
|
||||
}
|
||||
|
||||
uint8_t swap_buffers_vsync(uint8_t syncs, bool clear_screen = true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user