Starting using lines to render+rect glyph draw funcs

This commit is contained in:
bloeys
2022-07-24 07:37:43 +04:00
parent 4c458c3c55
commit 854fb7ac64
4 changed files with 206 additions and 59 deletions

View File

@ -8,6 +8,8 @@ import (
func T(check bool, msg string, args ...any) {
if consts.Mode_Debug && !check {
// Sprintf is done inside the assert because putting it as the argument to 'msg' blocks
// the function from getting fully optimized out on a release build (and slower in general)
panic("Assert failed: " + fmt.Sprintf(msg, args...))
}
}