aboutsummaryrefslogtreecommitdiff
path: root/libmu/src/maths/matrix.rs
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2024-09-16 13:27:22 +0200
committerhachem <im@hachem.wtf>2024-09-16 13:27:22 +0200
commitb6ad90a40761d27d04ed5447dd0fd2f31adb786e (patch)
tree6424cb44314b527eb083dc89a4010c23268c3ea0 /libmu/src/maths/matrix.rs
parent6d750e1ca95f7c4dcf4423b9cebc30fdc471d083 (diff)
Basic Vector Implementation
Diffstat (limited to 'libmu/src/maths/matrix.rs')
-rw-r--r--libmu/src/maths/matrix.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmu/src/maths/matrix.rs b/libmu/src/maths/matrix.rs
index 8a5465c..7662652 100644
--- a/libmu/src/maths/matrix.rs
+++ b/libmu/src/maths/matrix.rs
@@ -2,9 +2,9 @@ use super::Float;
use core::{fmt, ops};
pub struct Matrix<T: Float> {
- data: Vec<T>,
- rows: usize,
- cols: usize,
+ pub data: Vec<T>,
+ pub rows: usize,
+ pub cols: usize,
}
impl<T: Float> Matrix<T> {