Support comp_matrix
This commit is contained in:
@@ -30,7 +30,7 @@ namespace GTETest {
|
||||
return true;
|
||||
}
|
||||
|
||||
auto matrix = GTE::MATRIX::rotation(0, rotation, rotation);
|
||||
auto matrix = GTE::MATRIX::rotation(0, 0, rotation);
|
||||
matrix.trans[0] = (Assets::Main::DoenerFishInfo.size.width/2);
|
||||
matrix.trans[1] = (Assets::Main::DoenerFishInfo.size.height/2);
|
||||
|
||||
|
@@ -27,7 +27,8 @@ namespace GTETest {
|
||||
move_back.trans[1] = -matrix.trans[1];
|
||||
move_back.trans[2] = -matrix.trans[2];
|
||||
|
||||
return GTE::apply_matrix(matrix, GTE::apply_matrix(move_back, vector, output), output).to<GPU::Vertex>();
|
||||
GTE::comp_matrix(matrix, move_back, move_back);
|
||||
return GTE::apply_matrix(move_back, vector, output).to<GPU::Vertex>();
|
||||
};
|
||||
|
||||
const auto& area = this->area;
|
||||
|
Reference in New Issue
Block a user