You've already forked flecs_tests
Add a makefile, change imgui with nuklear and add file dropping and loading
This commit is contained in:
@@ -42,8 +42,8 @@ struct FsO { //Fragment shader output
|
||||
}*/
|
||||
// Get the texture array index from the UV
|
||||
/*fn indexFromCoord(uv: vec2f, width: u32, height: u32) -> u32 {
|
||||
let x: u32 = clamp(floor(uv.x * width), 0, width);
|
||||
let y: u32 = clamp(floor(uv.y * height), 0, height);
|
||||
let x: u32 = clamp(floor(uv.x * f32(width)), 0, width);
|
||||
let y: u32 = clamp(floor(uv.y * f32(height)), 0, height);
|
||||
return y * width + x;
|
||||
}*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user