mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
remove os/time references from live programs, fix warnings
This commit is contained in:

committed by
Alexander Medvednikov

parent
8082a5e7f4
commit
32b0225079
@@ -272,8 +272,8 @@ pub fn identity3() []f32 {
|
||||
|
||||
// https://github.com/toji/gl-matrix/blob/1549cf21dfa14a2bc845993485343d519cf064fe/src/gl-matrix/mat4.js
|
||||
fn ortho_js(left, right, bottom, top f32) &f32 {
|
||||
mynear := 1
|
||||
myfar := 1
|
||||
// mynear := 1
|
||||
// myfar := 1
|
||||
lr := 1.0 / (left - right)
|
||||
bt := 1.0 / (bottom - top)
|
||||
nf := 1.0 / 1.0// (mynear -myfar)
|
||||
|
Reference in New Issue
Block a user