mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-31 01:00:56 -04:00
demo work (#1172)
* Some d_message demo matches * More demo matches * fix jpn
This commit is contained in:
@@ -192,8 +192,8 @@ static BOOL nodeCallBack_Bs(J3DNode* node, int calcTiming) {
|
||||
MTXCopy(model->getAnmMtx(jntNo), *calc_mtx);
|
||||
if (jntNo == i_this->getHeadJntNum()) {
|
||||
cXyz offset(0.0f, 0.0f, 0.0f);
|
||||
mDoMtx_XrotM(*calc_mtx, i_this->getHead_y());
|
||||
cMtx_ZrotM(*calc_mtx, -i_this->getHead_x());
|
||||
cMtx_XrotM(*calc_mtx, (s16)i_this->getHead_y());
|
||||
cMtx_ZrotM(*calc_mtx, (s16)-i_this->getHead_x());
|
||||
cXyz pos;
|
||||
MtxPosition(&offset, &pos);
|
||||
i_this->setAttentionBasePos(pos);
|
||||
@@ -204,8 +204,8 @@ static BOOL nodeCallBack_Bs(J3DNode* node, int calcTiming) {
|
||||
i_this->setEyePos(pos);
|
||||
i_this->incAttnSetCount();
|
||||
} else if (jntNo == i_this->getBackboneJntNum()) {
|
||||
mDoMtx_XrotM(*calc_mtx, i_this->getBackbone_y());
|
||||
cMtx_ZrotM(*calc_mtx, -i_this->getBackbone_x());
|
||||
cMtx_XrotM(*calc_mtx, (s16)i_this->getBackbone_y());
|
||||
cMtx_ZrotM(*calc_mtx, (s16)-i_this->getBackbone_x());
|
||||
}
|
||||
cMtx_copy(*calc_mtx, J3DSys::mCurrentMtx);
|
||||
model->setAnmMtx(jntNo, *calc_mtx);
|
||||
|
||||
Reference in New Issue
Block a user