mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: fix mutable args
This commit is contained in:

committed by
Alexander Medvednikov

parent
34e0b164eb
commit
0bcc53c366
@ -250,7 +250,7 @@ pub fn identity() Mat4 {
|
||||
}
|
||||
|
||||
// returns *f32 without allocation
|
||||
pub fn identity2(res *f32) {
|
||||
pub fn identity2(res mut *f32) {
|
||||
res[0] = 1
|
||||
res[5] = 1
|
||||
res[10] = 1
|
||||
|
Reference in New Issue
Block a user