mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: fix for example06 (#13101)
This commit is contained in:
@@ -396,15 +396,15 @@ fn (mut obj_part ObjPart) load_materials() {
|
|||||||
// vertex data struct
|
// vertex data struct
|
||||||
pub struct Vertex_pnct {
|
pub struct Vertex_pnct {
|
||||||
pub mut:
|
pub mut:
|
||||||
x f32 // poistion
|
x f32 // poistion
|
||||||
y f32
|
y f32
|
||||||
z f32
|
z f32
|
||||||
nx f32 // normal
|
nx f32 // normal
|
||||||
ny f32
|
ny f32
|
||||||
nz f32
|
nz f32
|
||||||
color u32 = 0xFFFFFFFF // color
|
// color u32 = 0xFFFFFFFF // color
|
||||||
u f32 // uv
|
u f32 // uv
|
||||||
v f32
|
v f32
|
||||||
// u u16 // for compatibility with D3D11
|
// u u16 // for compatibility with D3D11
|
||||||
// v u16 // for compatibility with D3D11
|
// v u16 // for compatibility with D3D11
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user