diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-12 00:15:33 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-12 00:15:33 +1000 |
commit | 72b8d26fcfcee36ca67f963b9c6a4b616e2d5d4d (patch) | |
tree | 76ab2c18db5a834c6282ab4e2afa2db33f70be27 /bindgen/rust/examples | |
parent | a8f98ddcf5ddeb3588492f4ad8f9a289147ad7ec (diff) |
scale is a vec3 now instead of float.
Diffstat (limited to 'bindgen/rust/examples')
-rw-r--r-- | bindgen/rust/examples/shaders.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindgen/rust/examples/shaders.rs b/bindgen/rust/examples/shaders.rs index ad0b35f..0dede8f 100644 --- a/bindgen/rust/examples/shaders.rs +++ b/bindgen/rust/examples/shaders.rs @@ -6,6 +6,7 @@ use celeritas_sys::{ ShaderVisibility_VISIBILITY_FRAGMENT, ShaderVisibility_VISIBILITY_VERTEX, }; +#[allow(clippy::upper_case_acronyms)] #[repr(C)] struct MVP { model: Mat4, @@ -13,7 +14,7 @@ struct MVP { proj: Mat4, } -fn shader_vis_all() -> u32 { +pub fn shader_vis_all() -> u32 { ShaderVisibility_VISIBILITY_VERTEX | ShaderVisibility_VISIBILITY_FRAGMENT | ShaderVisibility_VISIBILITY_COMPUTE |