Implement vector color and ray compatibility
This commit is contained in:
1 parent
28a6f54f7e
commit
3068e5ee9e
13 files changed
+2724
-1835
No files matched your search
@@ -23,6 +23,7 @@ fn color_values(value: &Color4) -> [f32; 4] {
|
||||
[value.r, value.g, value.b, value.a]
|
||||
}
|
||||
|
||||
#[allow(clippy::trivially_copy_pass_by_ref)] // Mirrors the reference-oriented test helper shape.
|
||||
fn vector2_values(value: &Vector2) -> [f32; 2] {
|
||||
[value.x, value.y]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user