mirror of
https://github.com/hyprwm/hyprutils.git
synced 2024-12-22 11:59:48 +01:00
XD
This commit is contained in:
parent
720b6562f0
commit
adc2233e17
2 changed files with 6 additions and 1 deletions
|
@ -40,9 +40,10 @@ namespace Hyprutils {
|
|||
Mat3x3& multiply(const Mat3x3& other);
|
||||
|
||||
/* misc utils */
|
||||
Mat3x3 copy() const;
|
||||
std::string toString() const;
|
||||
|
||||
bool operator==(const Mat3x3& other) const {
|
||||
bool operator==(const Mat3x3& other) const {
|
||||
return other.matrix == matrix;
|
||||
}
|
||||
|
||||
|
|
|
@ -135,6 +135,10 @@ Mat3x3& Mat3x3::multiply(const Mat3x3& other) {
|
|||
return *this;
|
||||
}
|
||||
|
||||
Mat3x3 Mat3x3::copy() const {
|
||||
return *this;
|
||||
}
|
||||
|
||||
std::string Mat3x3::toString() const {
|
||||
return std::format("[mat3x3: {}, {}, {}, {}, {}, {}, {}, {}, {}]", matrix.at(0), matrix.at(1), matrix.at(2), matrix.at(3), matrix.at(4), matrix.at(5), matrix.at(6),
|
||||
matrix.at(7), matrix.at(8));
|
||||
|
|
Loading…
Reference in a new issue