Syntax highlighting setup

This commit is contained in:
bloeys
2022-07-15 15:27:39 +04:00
parent ecd6bdae3e
commit 7f7f90d4c6
2 changed files with 94 additions and 6 deletions

View File

@ -114,7 +114,7 @@ func (gr *GlyphRend) DrawTextOpenGLAbs(text []rune, screenPos *gglm.Vec3, color
return *pos
}
//@TODO: Debug
// @TODO: Debug
var PrintPositions bool
func (gr *GlyphRend) drawRune(run *TextRun, i int, prevRune rune, screenPos, pos *gglm.Vec3, color *gglm.Vec4, lineHeightF32 float32, bufIndex *uint32) {