We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71031a8 commit 3e101c9Copy full SHA for 3e101c9
src/engine.rs
@@ -15,8 +15,8 @@ pub struct Color {
15
#[repr(C)]
16
#[derive(Clone, Copy, Debug)]
17
pub struct Vector2<T> {
18
- x: T,
19
- y: T,
+ pub x: T,
+ pub y: T,
20
}
21
22
impl<T> Vector2<T> {
@@ -28,9 +28,9 @@ impl<T> Vector2<T> {
28
29
30
pub struct Vector3<T> {
31
32
33
- z: T,
+ pub z: T,
34
35
36
impl<T> Vector3<T> {
0 commit comments