| /NW4C-1.3.3/sources/libraries/gfx/ |
| D | gfx_CalculatedTransform.cpp | 90 const math::MTX34& mtx = this->m_TransformMatrix; in UpdateRotateFlagsStrictly() local 91 if (mtx.f._00 == 1.0f && mtx.f._01 == 0.0f && mtx.f._02 == 0.0f && in UpdateRotateFlagsStrictly() 92 mtx.f._10 == 0.0f && mtx.f._11 == 1.0f && mtx.f._12 == 0.0f && in UpdateRotateFlagsStrictly() 93 mtx.f._20 == 0.0f && mtx.f._21 == 0.0f && mtx.f._22 == 1.0f) in UpdateRotateFlagsStrictly() 112 const math::MTX34& mtx = this->m_TransformMatrix; in UpdateRotateFlags() local 114 if (mtx.f._00 == 1.0f && mtx.f._11 == 1.0f) in UpdateRotateFlags() 122 …ut::FloatEqualsWeak(mtx.f._00, 1.0f) && ut::FloatEqualsWeak(mtx.f._01, 0.0f) && ut::FloatEqualsWea… in UpdateRotateFlags() 123 …ut::FloatEqualsWeak(mtx.f._10, 0.0f) && ut::FloatEqualsWeak(mtx.f._11, 1.0f) && ut::FloatEqualsWea… in UpdateRotateFlags() 124 …ut::FloatEqualsWeak(mtx.f._20, 0.0f) && ut::FloatEqualsWeak(mtx.f._21, 0.0f) && ut::FloatEqualsWea… in UpdateRotateFlags() 144 const math::MTX34& mtx = this->m_TransformMatrix; in UpdateTranslateFlags() local [all …]
|
| D | gfx_MeshRenderer.cpp | 237 isIllegal(const math::MTX34& mtx) in isIllegal() argument 240 isIllegal(mtx._00) || isIllegal(mtx._01) || isIllegal(mtx._02) || isIllegal(mtx._03) || in isIllegal() 241 isIllegal(mtx._10) || isIllegal(mtx._11) || isIllegal(mtx._12) || isIllegal(mtx._13) || in isIllegal() 242 isIllegal(mtx._20) || isIllegal(mtx._21) || isIllegal(mtx._22) || isIllegal(mtx._23); in isIllegal()
|
| /NW4C-1.3.3/sources/libraries/snd/ |
| D | snd_Sound3DListener.cpp | 46 void Sound3DListener::SetMatrix( const nw::math::MTX34& mtx ) in SetMatrix() argument 49 CalcPositionFromMatrix( mtx, &m_Position ); in SetMatrix() 52 m_Mtx = mtx; in SetMatrix() 56 m_Mtx = mtx; in SetMatrix() 61 void Sound3DListener::CalcPositionFromMatrix( const nw::math::MTX34& mtx, nw::math::VEC3* pos ) in CalcPositionFromMatrix() argument 63 pos->x = -( mtx.f._00 * mtx.f._03 + mtx.f._10 * mtx.f._13 + mtx.f._20 * mtx.f._23 ); in CalcPositionFromMatrix() 64 pos->y = -( mtx.f._01 * mtx.f._03 + mtx.f._11 * mtx.f._13 + mtx.f._21 * mtx.f._23 ); in CalcPositionFromMatrix() 65 pos->z = -( mtx.f._02 * mtx.f._03 + mtx.f._12 * mtx.f._13 + mtx.f._22 * mtx.f._23 ); in CalcPositionFromMatrix()
|
| /NW4C-1.3.3/include/nw/gfx/ |
| D | gfx_ShaderProgram.h | 208 void SetUniversal(int index, const math::MTX34& mtx) const in SetUniversal() argument 210 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 3, mtx); in SetUniversal() 218 void SetUniversal(int index, const math::MTX44& mtx) const in SetUniversal() argument 220 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 4, mtx); in SetUniversal() 319 …niform location, const math::MTX22& mtx) const { glUniform2fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument 326 …niform location, const math::MTX23& mtx) const { glUniform3fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument 333 …niform location, const math::MTX34& mtx) const { glUniform4fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument 340 …niform location, const math::MTX44& mtx) const { glUniform4fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument
|
| /NW4C-1.3.3/sources/libraries/lyt/ |
| D | lyt_DrawInfo.cpp | 44 DrawInfo::SetProjectionMtx(const nw::math::MTX44& mtx) in SetProjectionMtx() argument 49 math::MTX44Copy(&m_ProjMtx, &mtx); in SetProjectionMtx()
|
| D | lyt_DrawerUniform.cpp | 33 const nw::math::MTX22& mtx, in Transform() argument 37 mtx.f._00 * vec.x + mtx.f._01 * vec.y, in Transform() 38 mtx.f._10 * vec.x + mtx.f._11 * vec.y); in Transform() 215 Drawer::SetUpMtx( const nw::math::MTX34& __restrict mtx ) in SetUpMtx() argument 218 MTX34Copy( ( nw::math::MTX34* )&m_UniformMtx[ m_UniformMtxIndex ], &mtx ); in SetUpMtx()
|
| D | lyt_GraphicsResource.cpp | 424 GraphicsResource::SetProjectionMtx(const nw::math::MTX44& mtx) in SetProjectionMtx() argument 432 glUniformMatrix4fv(this->GetUniformLocation(this->UNIFORM_uProjection), 1, GL_TRUE, mtx.a); in SetProjectionMtx() 437 glUniformMatrix4fv(glGetUniformLocation(program, "uProjection"), 1, GL_TRUE, mtx.a); in SetProjectionMtx() 441 m_TextWriterResource.SetProjectionMtx(mtx.a); in SetProjectionMtx()
|
| D | lyt_TextBox.cpp | 513 MTX34 mtx; in LoadMtx() local 515 GetTextGlobalMtx(&mtx); in LoadMtx() 517 drawInfo.GetGraphicsResource()->GetTextWriterResource().SetViewMtx(mtx.a); in LoadMtx()
|
| /NW4C-1.3.3/include/nw/font/ |
| D | font_TextWriterResource.h | 83 void SetProjectionMtx(const nn::math::MTX44& mtx) const; 89 void SetViewMtx(const nn::math::MTX34& mtx) const;
|
| D | font_RectDrawer.h | 191 void SetProjectionMtx(const nn::math::MTX44& mtx); 197 void SetViewMtxForText(const nn::math::MTX34& mtx);
|
| /NW4C-1.3.3/include/nw/snd/ |
| D | snd_Sound3DListener.h | 86 void SetMatrix( const nw::math::MTX34& mtx ); 317 void CalcPositionFromMatrix( const nw::math::MTX34& mtx, nw::math::VEC3* pos );
|
| /NW4C-1.3.3/sources/libraries/font/ |
| D | font_TextWriterResource.cpp | 192 TextWriterResource::SetProjectionMtx(const nn::math::MTX44& mtx) const in SetProjectionMtx() 196 glUniform4fv(m_UniformLocations[internal::LOC_PROJECTION], 4, mtx.a); in SetProjectionMtx() 200 TextWriterResource::SetViewMtx(const nn::math::MTX34& mtx) const in SetViewMtx() 204 glUniform4fv(m_UniformLocations[internal::LOC_MODELVIEW], 3, mtx.a); in SetViewMtx()
|
| D | font_RectDrawer.cpp | 876 RectDrawer::SetProjectionMtx(const nn::math::MTX44& mtx) in SetProjectionMtx() argument 880 nn::math::MTX44Copy(pDst, &mtx); in SetProjectionMtx() 890 RectDrawer::SetViewMtxForText(const nn::math::MTX34& mtx) in SetViewMtxForText() argument 894 nn::math::MTX34Copy(pDst, &mtx); in SetViewMtxForText() 896 m_UniformMtxIndex = sizeof(mtx) / sizeof(nn::math::VEC4); in SetViewMtxForText()
|
| /NW4C-1.3.3/include/nw/lyt/ |
| D | lyt_Pane.h | 446 void SetMtx(const math::MTX34& mtx) in SetMtx() argument 448 m_Mtx = mtx; in SetMtx() 519 void SetGlobalMtx(const math::MTX34& mtx) in SetGlobalMtx() argument 521 m_GlbMtx = mtx; in SetGlobalMtx()
|
| D | lyt_DrawInfo.h | 309 void SetProjectionMtx(const nw::math::MTX44& mtx);
|
| D | lyt_Drawer.h | 345 void SetUpMtx( const nw::math::MTX34& mtx );
|
| D | lyt_GraphicsResource.h | 411 void SetProjectionMtx(const nw::math::MTX44& mtx);
|
| /NW4C-1.3.3/sources/libraries/anim/res/ |
| D | anim_ResAnimCurve.cpp | 773 math::MTX34 mtx; in CalcRotateCurveCV_() local 782 math::QUATToMTX34(&mtx, &quaternion); in CalcRotateCurveCV_() 800 math::QUATToMTX34(&mtx, &lerpResult); in CalcRotateCurveCV_() 808 result->f._00 = mtx.f._00; in CalcRotateCurveCV_() 809 result->f._01 = mtx.f._01; in CalcRotateCurveCV_() 810 result->f._02 = mtx.f._02; in CalcRotateCurveCV_() 812 result->f._10 = mtx.f._10; in CalcRotateCurveCV_() 813 result->f._11 = mtx.f._11; in CalcRotateCurveCV_() 814 result->f._12 = mtx.f._12; in CalcRotateCurveCV_() 816 result->f._20 = mtx.f._20; in CalcRotateCurveCV_() [all …]
|
| /NW4C-1.3.3/demos/snd/sound3d/sources/ |
| D | Sound3dApp.h | 35 void CalcListenerMatrix( nw::math::MTX34* mtx );
|
| D | Sound3dApp.cpp | 152 void Sound3dApp::CalcListenerMatrix( nw::math::MTX34* mtx ) in CalcListenerMatrix() argument 165 nw::math::MTX34LookAt( mtx, &pos, &upVec, &target ); in CalcListenerMatrix()
|