mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: various fixes for [heap]/auto-heap handling (#10033)
This commit is contained in:
@ -43,7 +43,7 @@ pub fn vec3(x f32, y f32, z f32) Vec3 {
|
||||
|
||||
fn mat4(f &f32) Mat4 {
|
||||
res := Mat4{
|
||||
data: f
|
||||
data: unsafe { f }
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
Reference in New Issue
Block a user