| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_Sound3DListener.cpp | 48 void Sound3DListener::SetMatrix( const nw::math::MTX34& mtx ) in SetMatrix() argument 51 CalcPositionFromMatrix( mtx, &m_Position ); in SetMatrix() 54 m_Mtx = mtx; in SetMatrix() 58 m_Mtx = mtx; in SetMatrix() 63 void Sound3DListener::CalcPositionFromMatrix( const nw::math::MTX34& mtx, nw::math::VEC3* pos ) in CalcPositionFromMatrix() argument 65 pos->x = -( mtx.f._00 * mtx.f._03 + mtx.f._10 * mtx.f._13 + mtx.f._20 * mtx.f._23 ); in CalcPositionFromMatrix() 66 pos->y = -( mtx.f._01 * mtx.f._03 + mtx.f._11 * mtx.f._13 + mtx.f._21 * mtx.f._23 ); in CalcPositionFromMatrix() 67 pos->z = -( mtx.f._02 * mtx.f._03 + mtx.f._12 * mtx.f._13 + mtx.f._22 * mtx.f._23 ); in CalcPositionFromMatrix()
|
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_CalculatedTransform.cpp | 94 const math::MTX34& mtx = this->m_TransformMatrix; in UpdateRotateFlagsStrictly() local 95 if (mtx.f._00 == 1.0f && mtx.f._01 == 0.0f && mtx.f._02 == 0.0f && in UpdateRotateFlagsStrictly() 96 mtx.f._10 == 0.0f && mtx.f._11 == 1.0f && mtx.f._12 == 0.0f && in UpdateRotateFlagsStrictly() 97 mtx.f._20 == 0.0f && mtx.f._21 == 0.0f && mtx.f._22 == 1.0f) in UpdateRotateFlagsStrictly() 116 const math::MTX34& mtx = this->m_TransformMatrix; in UpdateRotateFlags() local 118 if (mtx.f._00 == 1.0f && mtx.f._11 == 1.0f) in UpdateRotateFlags() 126 …ut::FloatEqualsWeak(mtx.f._00, 1.0f) && ut::FloatEqualsWeak(mtx.f._01, 0.0f) && ut::FloatEqualsWea… in UpdateRotateFlags() 127 …ut::FloatEqualsWeak(mtx.f._10, 0.0f) && ut::FloatEqualsWeak(mtx.f._11, 1.0f) && ut::FloatEqualsWea… in UpdateRotateFlags() 128 …ut::FloatEqualsWeak(mtx.f._20, 0.0f) && ut::FloatEqualsWeak(mtx.f._21, 0.0f) && ut::FloatEqualsWea… in UpdateRotateFlags() 148 const math::MTX34& mtx = this->m_TransformMatrix; in UpdateTranslateFlags() local [all …]
|
| D | gfx_MeshRenderer.cpp | 242 isIllegal(const math::MTX34& mtx) in isIllegal() argument 245 isIllegal(mtx._00) || isIllegal(mtx._01) || isIllegal(mtx._02) || isIllegal(mtx._03) || in isIllegal() 246 isIllegal(mtx._10) || isIllegal(mtx._11) || isIllegal(mtx._12) || isIllegal(mtx._13) || in isIllegal() 247 isIllegal(mtx._20) || isIllegal(mtx._21) || isIllegal(mtx._22) || isIllegal(mtx._23); in isIllegal()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_ShaderProgram.h | 210 void SetUniversal(int index, const math::MTX34& mtx) const in SetUniversal() argument 212 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 3, mtx); in SetUniversal() 220 void SetUniversal(int index, const math::MTX44& mtx) const in SetUniversal() argument 222 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 4, mtx); in SetUniversal() 321 …niform location, const math::MTX22& mtx) const { glUniform2fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument 328 …niform location, const math::MTX23& mtx) const { glUniform3fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument 335 …niform location, const math::MTX34& mtx) const { glUniform4fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument 342 …niform location, const math::MTX44& mtx) const { glUniform4fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument
|
| /NW4C-2.0.3/sources/libraries/lyt/ |
| D | lyt_DrawInfo.cpp | 46 DrawInfo::SetProjectionMtx(const nw::math::MTX44& mtx) in SetProjectionMtx() argument 51 math::MTX44Copy(&m_ProjMtx, &mtx); in SetProjectionMtx()
|
| D | lyt_DrawerUniform.cpp | 35 const nw::math::MTX22& mtx, in Transform() argument 39 mtx.f._00 * vec.x + mtx.f._01 * vec.y, in Transform() 40 mtx.f._10 * vec.x + mtx.f._11 * vec.y); in Transform() 217 Drawer::SetUpMtx( const nw::math::MTX34& __restrict mtx ) in SetUpMtx() argument 220 MTX34Copy( ( nw::math::MTX34* )&m_UniformMtx[ m_UniformMtxIndex ], &mtx ); in SetUpMtx()
|
| D | lyt_GraphicsResource.cpp | 426 GraphicsResource::SetProjectionMtx(const nw::math::MTX44& mtx) in SetProjectionMtx() argument 434 glUniformMatrix4fv(this->GetUniformLocation(this->UNIFORM_uProjection), 1, GL_TRUE, mtx.a); in SetProjectionMtx() 439 glUniformMatrix4fv(glGetUniformLocation(program, "uProjection"), 1, GL_TRUE, mtx.a); in SetProjectionMtx() 443 m_TextWriterResource.SetProjectionMtx(mtx); in SetProjectionMtx()
|
| D | lyt_TextBox.cpp | 515 MTX34 mtx; in LoadMtx() local 517 GetTextGlobalMtx(&mtx); in LoadMtx() 519 drawInfo.GetGraphicsResource()->GetTextWriterResource().SetViewMtx(mtx); in LoadMtx()
|
| /NW4C-2.0.3/include/nw/font/ |
| D | font_TextWriterResource.h | 85 void SetProjectionMtx(const nn::math::MTX44& mtx) const; 91 void SetViewMtx(const nn::math::MTX34& mtx) const;
|
| D | font_RectDrawer.h | 193 void SetProjectionMtx(const nn::math::MTX44& mtx); 199 void SetViewMtxForText(const nn::math::MTX34& mtx);
|
| /NW4C-2.0.3/sources/libraries/font/ |
| D | font_TextWriterResource.cpp | 194 TextWriterResource::SetProjectionMtx(const nn::math::MTX44& mtx) const in SetProjectionMtx() 198 glUniform4fv(m_UniformLocations[internal::LOC_PROJECTION], 4, mtx.a); in SetProjectionMtx() 202 TextWriterResource::SetViewMtx(const nn::math::MTX34& mtx) const in SetViewMtx() 206 glUniform4fv(m_UniformLocations[internal::LOC_MODELVIEW], 3, mtx.a); in SetViewMtx()
|
| D | font_RectDrawer.cpp | 902 RectDrawer::SetProjectionMtx(const nn::math::MTX44& mtx) in SetProjectionMtx() argument 906 nn::math::MTX44Copy(pDst, &mtx); in SetProjectionMtx() 916 RectDrawer::SetViewMtxForText(const nn::math::MTX34& mtx) in SetViewMtxForText() argument 920 nn::math::MTX34Copy(pDst, &mtx); in SetViewMtxForText() 922 m_UniformMtxIndex = sizeof(mtx) / sizeof(nn::math::VEC4); in SetViewMtxForText()
|
| /NW4C-2.0.3/include/nw/snd/ |
| D | snd_Sound3DListener.h | 88 void SetMatrix( const nw::math::MTX34& mtx ); 319 void CalcPositionFromMatrix( const nw::math::MTX34& mtx, nw::math::VEC3* pos );
|
| /NW4C-2.0.3/sources/libraries/anim/res/ |
| D | anim_ResAnimCurve.cpp | 811 math::MTX34 mtx; in CalcRotateCurveCV_() local 820 math::QUATToMTX34(&mtx, &quaternion); in CalcRotateCurveCV_() 834 math::QUATToMTX34(&mtx, &quaternion); in CalcRotateCurveCV_() 851 math::QUATToMTX34(&mtx, &lerpResult); in CalcRotateCurveCV_() 859 result->f._00 = mtx.f._00; in CalcRotateCurveCV_() 860 result->f._01 = mtx.f._01; in CalcRotateCurveCV_() 861 result->f._02 = mtx.f._02; in CalcRotateCurveCV_() 863 result->f._10 = mtx.f._10; in CalcRotateCurveCV_() 864 result->f._11 = mtx.f._11; in CalcRotateCurveCV_() 865 result->f._12 = mtx.f._12; in CalcRotateCurveCV_() [all …]
|
| /NW4C-2.0.3/include/nw/lyt/ |
| D | lyt_Pane.h | 448 void SetMtx(const math::MTX34& mtx) in SetMtx() argument 450 m_Mtx = mtx; in SetMtx() 521 void SetGlobalMtx(const math::MTX34& mtx) in SetGlobalMtx() argument 523 m_GlbMtx = mtx; in SetGlobalMtx()
|
| D | lyt_DrawInfo.h | 311 void SetProjectionMtx(const nw::math::MTX44& mtx);
|
| D | lyt_Drawer.h | 348 void SetUpMtx( const nw::math::MTX34& mtx );
|
| D | lyt_GraphicsResource.h | 413 void SetProjectionMtx(const nw::math::MTX44& mtx);
|
| /NW4C-2.0.3/SampleData/Graphics/Shader/DemoShader/ |
| D | UserRenderCommandShader.vsh | 93 …TEMP_VEC1.x // 0.5*normal / quaternion.z (クォータニオンからの展開時にきちんと、nrm = (mtx.31, mtx.32, mtx33) になる)
|
| /NW4C-2.0.3/demos/snd/sound3d/sources/ |
| D | Sound3dApp.h | 37 void CalcListenerMatrix( nw::math::MTX34* mtx );
|
| D | Sound3dApp.cpp | 154 void Sound3dApp::CalcListenerMatrix( nw::math::MTX34* mtx ) in CalcListenerMatrix() argument 167 nw::math::MTX34LookAt( mtx, &pos, &upVec, &target ); in CalcListenerMatrix()
|