1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib: fix several typos

This commit is contained in:
Vitor Oliveira
2019-09-14 13:54:14 -07:00
committed by Alexander Medvednikov
parent 3d2c266980
commit 1a099c9284
8 changed files with 25 additions and 25 deletions

View File

@@ -87,7 +87,7 @@ pub fn new_context(cfg Cfg) &GG {
shader.set_mat4('projection', projection)
}
else {
// TODO move to function (allow volt functions to return arrrays without allocations)
// TODO move to function (allow volt functions to return arrays without allocations)
// i := glm.identity3()
shader.set_mat4('projection', glm.identity())
}
@@ -200,7 +200,7 @@ pub fn (ctx &GG) draw_rect(x, y, w, h f32, c gx.Color) {
// wrong order
// // ctx.draw_triangle(x, y, x + w, y, x + w, y + h, c)
// // ctx.draw_triangle(x, y, x, y + h, x + w, y + h, c)
// good order. counter clock wise
// good order. counter clockwise
// ctx.draw_triangle(x, y, x, y + h, x + w, y + h, c)
// ctx.draw_triangle(x, y, x + w, y + h, x + w, y, c)
ctx.draw_rect2(x, y, w, h, c)