Home
last modified time | relevance | path

Searched refs:mtx (Results 1 – 20 of 20) sorted by relevance

/NW4C-1.2.23/sources/libraries/snd/
Dsnd_Sound3DListener.cpp46 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.2.23/sources/libraries/gfx/
Dgfx_CalculatedTransform.cpp81 const math::MTX34& mtx = this->m_TransformMatrix; in UpdateRotateFlags() local
83 if (mtx.f._00 == 1.0f && mtx.f._11 == 1.0f) in UpdateRotateFlags()
102 const math::MTX34& mtx = this->m_TransformMatrix; in UpdateTranslateFlags() local
103 if (mtx.f._03 == 0.0f && mtx.f._13 == 0.0f && mtx.f._23 == 0.0f) in UpdateTranslateFlags()
Dgfx_MeshRenderer.cpp239 isIllegal(const math::MTX34& mtx) in isIllegal() argument
242 isIllegal(mtx._00) || isIllegal(mtx._01) || isIllegal(mtx._02) || isIllegal(mtx._03) || in isIllegal()
243 isIllegal(mtx._10) || isIllegal(mtx._11) || isIllegal(mtx._12) || isIllegal(mtx._13) || in isIllegal()
244 isIllegal(mtx._20) || isIllegal(mtx._21) || isIllegal(mtx._22) || isIllegal(mtx._23); in isIllegal()
/NW4C-1.2.23/include/nw/gfx/
Dgfx_ShaderProgram.h207 void SetUniversal(int index, const math::MTX34& mtx) const in SetUniversal() argument
209 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 3, mtx); in SetUniversal()
217 void SetUniversal(int index, const math::MTX44& mtx) const in SetUniversal() argument
219 internal::NWSetVertexUniform4fv(VERTEX_SHADER_UNIFORM_UNIVREG_INDEX + index, 4, mtx); in SetUniversal()
318 …niform location, const math::MTX22& mtx) const { glUniform2fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument
325 …niform location, const math::MTX23& mtx) const { glUniform3fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument
332 …niform location, const math::MTX34& mtx) const { glUniform4fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument
339 …niform location, const math::MTX44& mtx) const { glUniform4fv(m_UniformLocation->GetUniformLocatio… in SetUniform() argument
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_DrawInfo.cpp44 DrawInfo::SetProjectionMtx(const nw::math::MTX44& mtx) in SetProjectionMtx() argument
49 math::MTX44Copy(&m_ProjMtx, &mtx); in SetProjectionMtx()
Dlyt_DrawerUniform.cpp33 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()
Dlyt_GraphicsResource.cpp424 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()
Dlyt_TextBox.cpp513 MTX34 mtx; in LoadMtx() local
515 GetTextGlobalMtx(&mtx); in LoadMtx()
517 drawInfo.GetGraphicsResource()->GetTextWriterResource().SetViewMtx(mtx.a); in LoadMtx()
/NW4C-1.2.23/include/nw/font/
Dfont_TextWriterResource.h83 void SetProjectionMtx(const nn::math::MTX44& mtx) const;
89 void SetViewMtx(const nn::math::MTX34& mtx) const;
Dfont_RectDrawer.h191 void SetProjectionMtx(const nn::math::MTX44& mtx);
197 void SetViewMtxForText(const nn::math::MTX34& mtx);
/NW4C-1.2.23/include/nw/snd/
Dsnd_Sound3DListener.h86 void SetMatrix( const nw::math::MTX34& mtx );
317 void CalcPositionFromMatrix( const nw::math::MTX34& mtx, nw::math::VEC3* pos );
/NW4C-1.2.23/sources/libraries/font/
Dfont_TextWriterResource.cpp192 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()
Dfont_RectDrawer.cpp876 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.2.23/sources/libraries/anim/res/
Danim_ResAnimCurve.cpp735 math::MTX34 mtx; in CalcRotateCurveCV_() local
744 math::QUATToMTX34(&mtx, &quaternion); in CalcRotateCurveCV_()
762 math::QUATToMTX34(&mtx, &lerpResult); in CalcRotateCurveCV_()
770 result->f._00 = mtx.f._00; in CalcRotateCurveCV_()
771 result->f._01 = mtx.f._01; in CalcRotateCurveCV_()
772 result->f._02 = mtx.f._02; in CalcRotateCurveCV_()
774 result->f._10 = mtx.f._10; in CalcRotateCurveCV_()
775 result->f._11 = mtx.f._11; in CalcRotateCurveCV_()
776 result->f._12 = mtx.f._12; in CalcRotateCurveCV_()
778 result->f._20 = mtx.f._20; in CalcRotateCurveCV_()
[all …]
/NW4C-1.2.23/include/nw/lyt/
Dlyt_Pane.h446 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()
Dlyt_DrawInfo.h309 void SetProjectionMtx(const nw::math::MTX44& mtx);
Dlyt_Drawer.h345 void SetUpMtx( const nw::math::MTX34& mtx );
Dlyt_GraphicsResource.h411 void SetProjectionMtx(const nw::math::MTX44& mtx);
/NW4C-1.2.23/demos/snd/sound3d/sources/
DSound3dApp.h35 void CalcListenerMatrix( nw::math::MTX34* mtx );
DSound3dApp.cpp131 void Sound3dApp::CalcListenerMatrix( nw::math::MTX34* mtx ) in CalcListenerMatrix() argument
144 nw::math::MTX34LookAt( mtx, &pos, &upVec, &target ); in CalcListenerMatrix()