Skip to content

Commit 3e101c9

Browse files
authored
Update engine.rs
1 parent 71031a8 commit 3e101c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/engine.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ pub struct Color {
1515
#[repr(C)]
1616
#[derive(Clone, Copy, Debug)]
1717
pub struct Vector2<T> {
18-
x: T,
19-
y: T,
18+
pub x: T,
19+
pub y: T,
2020
}
2121

2222
impl<T> Vector2<T> {
@@ -28,9 +28,9 @@ impl<T> Vector2<T> {
2828
#[repr(C)]
2929
#[derive(Clone, Copy, Debug)]
3030
pub struct Vector3<T> {
31-
x: T,
32-
y: T,
33-
z: T,
31+
pub x: T,
32+
pub y: T,
33+
pub z: T,
3434
}
3535

3636
impl<T> Vector3<T> {

0 commit comments

Comments
 (0)