mirror of
https://github.com/hyprwm/hyprutils.git
synced 2024-12-22 22:29:49 +01:00
XD
This commit is contained in:
parent
720b6562f0
commit
adc2233e17
2 changed files with 6 additions and 1 deletions
|
@ -40,6 +40,7 @@ namespace Hyprutils {
|
||||||
Mat3x3& multiply(const Mat3x3& other);
|
Mat3x3& multiply(const Mat3x3& other);
|
||||||
|
|
||||||
/* misc utils */
|
/* misc utils */
|
||||||
|
Mat3x3 copy() const;
|
||||||
std::string toString() const;
|
std::string toString() const;
|
||||||
|
|
||||||
bool operator==(const Mat3x3& other) const {
|
bool operator==(const Mat3x3& other) const {
|
||||||
|
|
|
@ -135,6 +135,10 @@ Mat3x3& Mat3x3::multiply(const Mat3x3& other) {
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Mat3x3 Mat3x3::copy() const {
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
std::string Mat3x3::toString() const {
|
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),
|
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));
|
matrix.at(7), matrix.at(8));
|
||||||
|
|
Loading…
Reference in a new issue