mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-26 15:44:53 -04:00
m_Do_mtx OK
This commit is contained in:
+1
-1
@@ -257,7 +257,7 @@ config.libs = [
|
||||
Object(NonMatching, "m_Do/m_Do_controller_pad.cpp"),
|
||||
Object(NonMatching, "m_Do/m_Do_graphic.cpp"),
|
||||
Object(Matching, "m_Do/m_Do_machine.cpp"),
|
||||
Object(NonMatching, "m_Do/m_Do_mtx.cpp"),
|
||||
Object(Matching, "m_Do/m_Do_mtx.cpp", extra_cflags=['-pragma "nosyminline on"']),
|
||||
Object(NonMatching, "m_Do/m_Do_ext.cpp", extra_cflags=["-sym off"]),
|
||||
Object(NonMatching, "m_Do/m_Do_lib.cpp"),
|
||||
Object(Matching, "m_Do/m_Do_hostIO.cpp"),
|
||||
|
||||
@@ -198,8 +198,7 @@ void mDoMtx_lookAt(Mtx mtx, const Vec* param_1, const Vec* param_2, const Vec* p
|
||||
cXyz local_4c(*(cXyz*)param_1);
|
||||
cXyz local_58(*(cXyz*)param_2);
|
||||
cXyz local_64(*(cXyz*)param_3);
|
||||
cXyz local_70 = local_4c - local_58;
|
||||
if (!local_70.normalizeRS()) {
|
||||
if (!cXyz(local_4c - local_58).normalizeRS()) {
|
||||
local_58.z += 1.0f;
|
||||
}
|
||||
if (cM3d_IsZero(local_64.x) && cM3d_IsZero(local_64.y) && cM3d_IsZero(local_64.z)) {
|
||||
@@ -348,9 +347,9 @@ void mDoMtx_stack_c::quatM(const Quaternion* param_0) {
|
||||
mDoMtx_concat(now, tmp, now);
|
||||
}
|
||||
|
||||
static mDoMtx_stack_c mDoMtx_stack;
|
||||
mDoMtx_stack_c mDoMtx_stack;
|
||||
|
||||
static mDoMtx_quatStack_c mDoMtx_quatStack;
|
||||
mDoMtx_quatStack_c mDoMtx_quatStack;
|
||||
|
||||
extern Mtx g_mDoMtx_identity = {
|
||||
{1.0f, 0.0f, 0.0f, 0.0f},
|
||||
|
||||
Reference in New Issue
Block a user