Skip to content

Commit

Permalink
Merge branch 'upstream'
Browse files Browse the repository at this point in the history
# Conflicts:
#	source/TouhouDanmakufu/Common/StgCommon.cpp
  • Loading branch information
nazjun committed Jan 2, 2022
2 parents 16b26b1 + 9c8a63a commit dcec906
Show file tree
Hide file tree
Showing 5 changed files with 187 additions and 176 deletions.
6 changes: 6 additions & 0 deletions source/GcLib/directx/DxUtility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,18 @@ void DxMath::ConstructRotationMatrix(D3DXMATRIX* mat, const D3DXVECTOR2& angleX,
mat->_11 = cy * cz - sx_sy * sz;
mat->_12 = -cx * sz;
mat->_13 = sy * cz + sx_cy * sz;
mat->_14 = 0.0f;
mat->_21 = cy * sz + sx_sy * cz;
mat->_22 = cx * cz;
mat->_23 = sy * sz - sx_cy * cz;
mat->_24 = 0.0f;
mat->_31 = -cx * sy;
mat->_32 = sx;
mat->_33 = cx * cy;
mat->_41 = 0.0f;
mat->_42 = 0.0f;
mat->_43 = 0.0f;
mat->_44 = 1.0f;
}
void DxMath::MatrixApplyScaling(D3DXMATRIX* mat, const D3DXVECTOR3& scale) {
#ifdef __L_MATH_VECTORIZE
Expand Down
Loading

0 comments on commit dcec906

Please sign in to comment.