![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Variables | |
const matrix4x4_t | identitymatrix |
void Matrix4x4_Abs | ( | matrix4x4_t * | out | ) |
Definition at line 1859 of file matrixlib.c.
References fabs(), and matrix4x4_t::m.
Referenced by R_Shadow_DrawLight(), and R_Shadow_DrawLightShadowMaps().
void Matrix4x4_Accumulate | ( | matrix4x4_t * | out, |
matrix4x4_t * | in, | ||
double | weight ) |
Definition at line 491 of file matrixlib.c.
References i, and matrix4x4_t::m.
Referenced by Mod_Alias_GetExtendedTagInfoForIndex(), Mod_Alias_GetTagMatrix(), VM_CL_skel_build(), and VM_SV_skel_build().
void Matrix4x4_AdjustOrigin | ( | matrix4x4_t * | out, |
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 1824 of file matrixlib.c.
References matrix4x4_t::m, x, y, and z.
Referenced by R_Shadow_DrawModelShadowMaps(), and V_CalcIntermissionRefdef().
void Matrix4x4_Blend | ( | matrix4x4_t * | out, |
const matrix4x4_t * | in1, | ||
const matrix4x4_t * | in2, | ||
double | blend ) |
Definition at line 1635 of file matrixlib.c.
References matrix4x4_t::m.
void Matrix4x4_Clear | ( | matrix4x4_t * | out | ) |
Definition at line 483 of file matrixlib.c.
References i, and matrix4x4_t::m.
Referenced by Mod_Alias_GetExtendedTagInfoForIndex(), and Mod_Alias_GetTagMatrix().
void Matrix4x4_Concat | ( | matrix4x4_t * | out, |
const matrix4x4_t * | in1, | ||
const matrix4x4_t * | in2 ) |
Definition at line 83 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by CL_AddQWCTFFlagModel(), CL_GetTagMatrix(), CL_UpdateNetworkEntity(), CL_VM_TransformView(), CSQC_R_RecalcView(), Matrix4x4_ConcatRotate(), Matrix4x4_ConcatScale(), Matrix4x4_ConcatScale3(), Matrix4x4_ConcatTranslate(), Mod_Alias_GetTagMatrix(), Mod_BuildBaseBonePoses(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), R_EntityMatrix(), R_RenderView(), R_SetupShader_DeferredLight(), R_SetupShader_Surface(), R_Shadow_DrawModelShadowMaps(), R_Shadow_DrawWorldLight(), R_Shadow_SetupEntityLight(), R_tcMod_ApplyToMatrix(), R_Viewport_InitCubeSideView(), R_Viewport_InitOrtho3D(), R_Viewport_InitPerspective(), R_Viewport_InitPerspectiveInfinite(), R_Viewport_InitRectSideView(), S_Update(), SV_GetTagMatrix(), V_CalcRefdefUsing(), V_MakeViewIsometric(), VM_CL_skel_get_boneabs(), VM_CL_skel_mul_bone(), VM_CL_skel_mul_bones(), VM_SV_skel_get_boneabs(), VM_SV_skel_mul_bone(), and VM_SV_skel_mul_bones().
void Matrix4x4_ConcatRotate | ( | matrix4x4_t * | out, |
double | angle, | ||
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 1766 of file matrixlib.c.
References Matrix4x4_Concat(), Matrix4x4_CreateRotate(), x, y, and z.
Referenced by R_tcMod_ApplyToMatrix(), R_Viewport_InitOrtho3D(), R_Viewport_InitPerspective(), and R_Viewport_InitPerspectiveInfinite().
void Matrix4x4_ConcatScale | ( | matrix4x4_t * | out, |
double | x ) |
Definition at line 1775 of file matrixlib.c.
References Matrix4x4_Concat(), Matrix4x4_CreateScale(), and x.
Referenced by CSQC_R_RecalcView(), V_CalcIntermissionRefdef(), and V_CalcRefdefUsing().
void Matrix4x4_ConcatScale3 | ( | matrix4x4_t * | out, |
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 1784 of file matrixlib.c.
References Matrix4x4_Concat(), Matrix4x4_CreateScale3(), x, y, and z.
Referenced by R_Water_ProcessPlanes().
void Matrix4x4_ConcatTranslate | ( | matrix4x4_t * | out, |
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 1757 of file matrixlib.c.
References Matrix4x4_Concat(), Matrix4x4_CreateTranslate(), x, y, and z.
Referenced by Mod_Q3BSP_LoadLightGrid(), and R_tcMod_ApplyToMatrix().
void Matrix4x4_Copy | ( | matrix4x4_t * | out, |
const matrix4x4_t * | in ) |
Definition at line 19 of file matrixlib.c.
Referenced by CL_GetTagMatrix(), CSQC_R_RecalcView(), SV_GetTagMatrix(), V_CalcIntermissionRefdef(), and V_CalcRefdefUsing().
void Matrix4x4_CopyRotateOnly | ( | matrix4x4_t * | out, |
const matrix4x4_t * | in ) |
Definition at line 24 of file matrixlib.c.
References matrix4x4_t::m.
void Matrix4x4_CopyTranslateOnly | ( | matrix4x4_t * | out, |
const matrix4x4_t * | in ) |
Definition at line 44 of file matrixlib.c.
References matrix4x4_t::m.
void Matrix4x4_CreateFromQuakeEntity | ( | matrix4x4_t * | out, |
double | x, | ||
double | y, | ||
double | z, | ||
double | pitch, | ||
double | yaw, | ||
double | roll, | ||
double | scale ) |
Definition at line 715 of file matrixlib.c.
References cos(), matrix4x4_t::m, M_PI, scale, sin(), x, y, and z.
Referenced by CL_AddQWCTFFlagModel(), CL_Cache_TraceLineSurfaces(), CL_ClearState(), CL_GetEntityMatrix(), CL_ParseStatic(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), CL_RelinkEffects(), CL_RelinkQWNails(), CL_TimeRefresh_f(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), CL_UpdateNetworkEntity(), CSQC_R_RecalcView(), R_DecalSystem_SplatEntity(), R_Envmap_f(), R_RenderView(), R_Shadow_UpdateWorldLight(), R_Sky(), R_tcMod_ApplyToMatrix(), RotateBBox(), S_Update(), SV_CanSeeBox(), SV_GetEntityMatrix(), SV_PointSuperContents(), SV_PushMove(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), V_CalcIntermissionRefdef(), V_CalcRefdefUsing(), V_MakeViewIsometric(), and VM_CL_makestatic().
void Matrix4x4_CreateIdentity | ( | matrix4x4_t * | out | ) |
Definition at line 564 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by CL_GetExtendedTagInfo(), CL_MeshEntities_Init(), R_GetCurrentTexture(), and SV_GetExtendedTagInfo().
void Matrix4x4_CreateRotate | ( | matrix4x4_t * | out, |
double | angle, | ||
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 623 of file matrixlib.c.
References cos(), matrix4x4_t::m, M_PI, sin(), sqrt(), x, y, and z.
Referenced by Matrix4x4_ConcatRotate(), R_RotateSprite(), R_Viewport_InitOrtho3D(), R_Viewport_InitPerspective(), and R_Viewport_InitPerspectiveInfinite().
void Matrix4x4_CreateScale | ( | matrix4x4_t * | out, |
double | x ) |
Definition at line 675 of file matrixlib.c.
References matrix4x4_t::m, and x.
Referenced by Matrix4x4_ConcatScale(), and V_CalcIntermissionRefdef().
void Matrix4x4_CreateScale3 | ( | matrix4x4_t * | out, |
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 695 of file matrixlib.c.
References matrix4x4_t::m, x, y, and z.
Referenced by Matrix4x4_ConcatScale3(), Mod_Q3BSP_LoadLightGrid(), R_Shadow_DrawModelShadowMaps(), and R_tcMod_ApplyToMatrix().
void Matrix4x4_CreateTranslate | ( | matrix4x4_t * | out, |
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 584 of file matrixlib.c.
References matrix4x4_t::m, x, y, and z.
Referenced by CL_NewParticlesFromEffectinfo(), CL_ParseTempEntity(), CL_ParticleEffect_Fallback(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), Matrix4x4_ConcatTranslate(), R_RenderScene(), R_SkySphere(), R_tcMod_ApplyToMatrix(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), V_MakeViewIsometric(), VM_CL_te_customflash(), VM_CL_te_explosion2(), and VM_CL_te_explosionrgb().
void Matrix4x4_FromArray12FloatD3D | ( | matrix4x4_t * | out, |
const float | in[12] ) |
Definition at line 1422 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_ZYMOTICMODEL_Load(), and R_Shadow_DrawModelShadowMaps().
void Matrix4x4_FromArray12FloatGL | ( | matrix4x4_t * | out, |
const float | in[12] ) |
Definition at line 1352 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by Mod_Alias_GetExtendedTagInfoForIndex(), Mod_Alias_GetTagMatrix(), and R_tcMod_ApplyToMatrix().
void Matrix4x4_FromArrayDoubleD3D | ( | matrix4x4_t * | out, |
const double | in[4][4] ) |
Definition at line 1126 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by Mod_Q3BSP_LoadLightGrid().
void Matrix4x4_FromArrayDoubleGL | ( | matrix4x4_t * | out, |
const double | in[16] ) |
Definition at line 1048 of file matrixlib.c.
References matrix4x4_t::m.
void Matrix4x4_FromArrayFloatD3D | ( | matrix4x4_t * | out, |
const float | in[16] ) |
Definition at line 1282 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by R_Shadow_BounceGrid_UpdateSpacing().
void Matrix4x4_FromArrayFloatGL | ( | matrix4x4_t * | out, |
const float | in[16] ) |
Definition at line 1204 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by R_Viewport_InitCubeSideView(), R_Viewport_InitOrtho(), R_Viewport_InitOrtho3D(), R_Viewport_InitPerspective(), R_Viewport_InitPerspectiveInfinite(), R_Viewport_InitRectSideView(), and V_MakeViewIsometric().
void Matrix4x4_FromBonePose7s | ( | matrix4x4_t * | m, |
float | originscale, | ||
const short * | pose7s ) |
Definition at line 1599 of file matrixlib.c.
References Matrix4x4_FromOriginQuat(), and origin.
Referenced by EntityState5_ReadUpdate(), Mod_Alias_GetExtendedTagInfoForIndex(), Mod_Alias_GetTagMatrix(), Mod_BuildBaseBonePoses(), Mod_Decompile_SMD(), VM_CL_skel_build(), and VM_SV_skel_build().
void Matrix4x4_FromDoom3Joint | ( | matrix4x4_t * | m, |
double | ox, | ||
double | oy, | ||
double | oz, | ||
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 1582 of file matrixlib.c.
References matrix4x4_t::m, sqrt(), w, x, y, and z.
Referenced by Mod_INTERQUAKEMODEL_Load().
void Matrix4x4_FromOriginQuat | ( | matrix4x4_t * | m, |
double | ox, | ||
double | oy, | ||
double | oz, | ||
double | x, | ||
double | y, | ||
double | z, | ||
double | w ) |
Definition at line 1461 of file matrixlib.c.
References matrix4x4_t::m, w, x, y, and z.
Referenced by Matrix4x4_FromBonePose7s(), and Mod_PSKMODEL_Load().
void Matrix4x4_FromVectors | ( | matrix4x4_t * | out, |
const float | vx[3], | ||
const float | vy[3], | ||
const float | vz[3], | ||
const float | t[3] ) |
Definition at line 970 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by CL_GetEntityMatrix(), CL_VM_TransformView(), Mod_GenerateLightmaps_CreateLightmaps(), R_DecalSystem_SplatEntity(), V_MakeViewIsometric(), VM_CL_makestatic(), VM_CL_R_AddDynamicLight(), VM_CL_RotateMoves(), VM_CL_setlistener(), VM_CL_skel_mul_bone(), VM_CL_skel_mul_bones(), VM_CL_skel_set_bone(), VM_SV_skel_mul_bone(), VM_SV_skel_mul_bones(), and VM_SV_skel_set_bone().
void Matrix4x4_Interpolate | ( | matrix4x4_t * | out, |
matrix4x4_t * | in1, | ||
matrix4x4_t * | in2, | ||
double | frac ) |
Definition at line 475 of file matrixlib.c.
References i, and matrix4x4_t::m.
Referenced by VM_CL_skel_build(), and VM_SV_skel_build().
int Matrix4x4_Invert_Full | ( | matrix4x4_t * | out, |
const matrix4x4_t * | in1 ) |
Definition at line 145 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by applytransform_inverted(), CL_VM_TransformView(), R_RenderView_UpdateViewVectors(), R_SetupShader_DeferredLight(), R_Shadow_DrawModelShadowMaps(), R_Viewport_InitCubeSideView(), R_Viewport_InitOrtho(), R_Viewport_InitOrtho3D(), R_Viewport_InitPerspective(), R_Viewport_InitPerspectiveInfinite(), R_Viewport_InitRectSideView(), and VM_CL_project().
void Matrix4x4_Invert_Simple | ( | matrix4x4_t * | out, |
const matrix4x4_t * | in1 ) |
Definition at line 422 of file matrixlib.c.
References matrix4x4_t::m, scale, and sqrt().
Referenced by CL_Cache_TraceLineSurfaces(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), CL_UpdateRenderEntity(), Mod_BuildBaseBonePoses(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), R_DecalSystem_SplatEntity(), R_RTLight_Update(), R_Sky(), S_Update(), SV_CanSeeBox(), SV_PointSuperContents(), SV_PushMove(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), V_CalcIntermissionRefdef(), and V_CalcRefdefUsing().
void Matrix4x4_Normalize | ( | matrix4x4_t * | out, |
matrix4x4_t * | in1 ) |
Definition at line 499 of file matrixlib.c.
References matrix4x4_t::m, Matrix4x4_Scale(), scale, and sqrt().
Referenced by CL_AllocLightFlash(), and CL_LinkNetworkEntity().
void Matrix4x4_Normalize3 | ( | matrix4x4_t * | out, |
matrix4x4_t * | in1 ) |
Definition at line 508 of file matrixlib.c.
References i, matrix4x4_t::m, scale, and sqrt().
Referenced by Mod_Alias_GetTagMatrix(), R_SetupShader_Surface(), VM_CL_skel_build(), and VM_SV_skel_build().
void Matrix4x4_OriginFromMatrix | ( | const matrix4x4_t * | in, |
float * | out ) |
Definition at line 1792 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by CL_AllocLightFlash(), CL_Beam_CalculatePositions(), CL_EntityParticles(), CL_GetTagMatrix(), CL_LinkNetworkEntity(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), CL_UpdateEntityShading_Entity(), CL_UpdateNetworkEntity(), CL_UpdateNetworkEntityTrail(), CL_UpdatePrydonCursor(), CL_UpdateRenderEntity(), CL_UpdateScreen(), CL_VM_GetEntitySoundOrigin(), CSQC_SetGlobals(), R_DrawNoModel(), R_Model_Sprite_Draw(), R_RTLight_Update(), R_Shadow_CullFrustumSides(), R_Shadow_PrepareLight(), R_Water_ProcessPlanes(), S_Update(), Sbar_ShowFPS(), SND_Spatialize_WithSfx(), SV_Ent_Create_f(), SV_Ent_Remove_f(), V_CalcRefdefUsing(), V_CalcViewBlend(), and VM_CL_GetEntity().
void Matrix4x4_QuakeToDuke3D | ( | const matrix4x4_t * | in, |
matrix4x4_t * | out, | ||
double | maxShearAngle ) |
Definition at line 891 of file matrixlib.c.
References angles, AnglesFromVectors(), AngleVectorsDuke3DFLU(), forward, matrix4x4_t::m, up, VectorNormalizeLength(), VectorScale, and VectorSet.
Referenced by CSQC_R_RecalcView(), V_CalcIntermissionRefdef(), and V_CalcRefdefUsing().
void Matrix4x4_Reflect | ( | matrix4x4_t * | out, |
double | normalx, | ||
double | normaly, | ||
double | normalz, | ||
double | dist, | ||
double | axisscale ) |
Definition at line 535 of file matrixlib.c.
References i, and matrix4x4_t::m.
Referenced by R_Water_ProcessPlanes().
void Matrix4x4_Scale | ( | matrix4x4_t * | out, |
double | rotatescale, | ||
double | originscale ) |
Definition at line 1837 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by CL_LinkNetworkEntity(), CL_NewParticlesFromEffectinfo(), CL_RelinkLightFlashes(), Matrix4x4_Normalize(), R_RTLight_Update(), and VM_CL_makestatic().
double Matrix4x4_ScaleFromMatrix | ( | const matrix4x4_t * | in | ) |
Definition at line 1805 of file matrixlib.c.
References matrix4x4_t::m, and sqrt().
Referenced by CL_UpdateRenderEntity(), R_RTLight_Update(), R_Shadow_DrawModelShadowMaps(), RSurf_ActiveCustomEntity(), RSurf_ActiveModelEntity(), and VM_CL_GetEntity().
void Matrix4x4_SetOrigin | ( | matrix4x4_t * | out, |
double | x, | ||
double | y, | ||
double | z ) |
Definition at line 1811 of file matrixlib.c.
References matrix4x4_t::m, x, y, and z.
Referenced by CL_AllocLightFlash(), and CL_LinkNetworkEntity().
void Matrix4x4_ToArray12FloatD3D | ( | const matrix4x4_t * | in, |
float | out[12] ) |
Definition at line 1391 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by Mod_BuildBaseBonePoses(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_Skeletal_BuildTransforms().
void Matrix4x4_ToArray12FloatGL | ( | const matrix4x4_t * | in, |
float | out[4][3] ) |
Definition at line 1321 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by Mod_Decompile_SMD().
void Matrix4x4_ToArrayDoubleD3D | ( | const matrix4x4_t * | in, |
double | out[16] ) |
Definition at line 1087 of file matrixlib.c.
References matrix4x4_t::m.
void Matrix4x4_ToArrayDoubleGL | ( | const matrix4x4_t * | in, |
double | out[16] ) |
Definition at line 1009 of file matrixlib.c.
References matrix4x4_t::m.
void Matrix4x4_ToArrayFloatD3D | ( | const matrix4x4_t * | in, |
float | out[16] ) |
Definition at line 1243 of file matrixlib.c.
References matrix4x4_t::m.
void Matrix4x4_ToArrayFloatGL | ( | const matrix4x4_t * | in, |
float | out[16] ) |
Definition at line 1165 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by R_EntityMatrix(), R_SetupShader_DeferredLight(), and R_SetupShader_Surface().
void Matrix4x4_ToBonePose7s | ( | const matrix4x4_t * | m, |
float | origininvscale, | ||
short * | pose7s ) |
Definition at line 1614 of file matrixlib.c.
References Matrix4x4_ToOrigin3Quat4Float(), origin, and sqrt().
Referenced by EntityState5_WriteUpdate(), Mod_DARKPLACESMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
void Matrix4x4_ToOrigin3Quat4Float | ( | const matrix4x4_t * | m, |
float * | origin, | ||
float * | quat ) |
Definition at line 1477 of file matrixlib.c.
References matrix4x4_t::m, origin, r, and sqrt().
Referenced by Matrix4x4_ToBonePose7s().
void Matrix4x4_ToVectors | ( | const matrix4x4_t * | in, |
float | vx[3], | ||
float | vy[3], | ||
float | vz[3], | ||
float | t[3] ) |
Definition at line 939 of file matrixlib.c.
References matrix4x4_t::m.
Referenced by CL_VM_TransformView(), R_Model_Sprite_Draw_TransparentCallback(), R_RenderView_UpdateViewVectors(), R_View_SetFrustum(), V_MakeViewIsometric(), VM_CL_GetEntity(), VM_CL_gettaginfo(), VM_CL_skel_get_boneabs(), VM_CL_skel_get_bonerel(), VM_SV_gettaginfo(), VM_SV_skel_get_boneabs(), and VM_SV_skel_get_bonerel().
void Matrix4x4_Transform | ( | const matrix4x4_t * | in, |
const float | v[3], | ||
float | out[3] ) |
Definition at line 1657 of file matrixlib.c.
References matrix4x4_t::m, and v.
Referenced by applytransform_forward(), CL_Beam_CalculatePositions(), CL_LinkNetworkEntity(), CL_RotateMoves(), CL_SelectTraceLine(), CL_UpdateNetworkEntityTrail(), CL_UpdatePrydonCursor(), Collision_ClipLineToGenericEntity(), Collision_ClipPointToGenericEntity(), Collision_ClipToGenericEntity(), Collision_TransformBrush(), Mod_Q3BSP_LightPoint(), R_DecalSystem_SplatEntity(), R_DecalSystem_SplatTriangle(), R_DrawTextureSurfaceList_Sky(), R_Mod_DrawLight(), R_ProcessTransparentTextureSurfaceList(), R_RotateSprite(), R_SetupShader_DeferredLight(), R_Shadow_CalcBBoxSideMask(), R_Shadow_ChooseSidesFromBox(), R_Shadow_ComputeShadowCasterCullingPlanes(), R_Shadow_CullFrustumSides(), R_Shadow_DrawEntityShadow(), R_Shadow_DrawModelShadowMaps(), R_Shadow_RenderMode_DrawDeferredLight(), R_Shadow_SetupEntityLight(), R_Stain(), R_TrackSprite(), R_Viewport_ApplyNearClipPlaneFloatGL(), R_Water_AddWaterPlane(), RotateBBox(), RSurf_ActiveCustomEntity(), RSurf_ActiveModelEntity(), RSurf_FindWaterPlaneForSurface(), Sbar_ShowFPS(), SND_Spatialize_WithSfx(), SV_CanSeeBox(), SV_Ent_Create_f(), SV_Ent_Remove_f(), SV_PointSuperContents(), V_ParseDamage(), VM_CL_project(), and VM_CL_unproject().
void Matrix4x4_Transform3x3 | ( | const matrix4x4_t * | in, |
const float | v[3], | ||
float | out[3] ) |
Definition at line 1685 of file matrixlib.c.
References matrix4x4_t::m, and v.
Referenced by applytransform_forward_direction(), applytransform_inverted(), CL_SelectTraceLine(), CL_UpdateEntityShading_Entity(), R_DecalSystem_SplatEntity(), R_Shadow_CalcBBoxSideMask(), R_Shadow_CullFrustumSides(), R_Shadow_DrawModelShadowMaps(), R_Viewport_ApplyNearClipPlaneFloatGL(), R_Water_AddWaterPlane(), and RSurf_PrepareVerticesForBatch().
void Matrix4x4_Transform4 | ( | const matrix4x4_t * | in, |
const float | v[4], | ||
float | out[4] ) |
Definition at line 1670 of file matrixlib.c.
References matrix4x4_t::m, and v.
Referenced by R_Viewport_TransformToScreen().
void Matrix4x4_TransformPositivePlane | ( | const matrix4x4_t * | in, |
float | x, | ||
float | y, | ||
float | z, | ||
float | d, | ||
float * | o ) |
Definition at line 1699 of file matrixlib.c.
References matrix4x4_t::m, scale, sqrt(), x, y, and z.
Referenced by applytransform_forward_normal(), CL_VM_TransformView(), Collision_ClipLineToGenericEntity(), Collision_ClipPointToGenericEntity(), Collision_ClipToGenericEntity(), and Collision_TransformBrush().
void Matrix4x4_TransformStandardPlane | ( | const matrix4x4_t * | in, |
float | x, | ||
float | y, | ||
float | z, | ||
float | d, | ||
float * | o ) |
Definition at line 1717 of file matrixlib.c.
References matrix4x4_t::m, scale, sqrt(), x, y, and z.
Referenced by RSurf_ActiveCustomEntity(), and RSurf_ActiveModelEntity().
void Matrix4x4_Transpose | ( | matrix4x4_t * | out, |
const matrix4x4_t * | in1 ) |
const matrix4x4_t identitymatrix |
Definition at line 9 of file matrixlib.c.
Referenced by CL_GetEntityLocalTagMatrix(), CL_GetTagMatrix(), CL_RelinkWorld(), CL_UpdateNetworkEntity(), CL_UpdateScreen(), CL_UpdateWorld(), Collision_Cache_ClipLineToWorldSurfaces(), EntityState5_ReadUpdate(), getmatrix(), Mod_Alias_GetTagMatrix(), R_BlendView(), R_Bloom_MakeTexture(), R_DrawCorona(), R_DrawExplosion_TransparentCallback(), R_DrawLoc_Callback(), R_DrawPortal_Callback(), R_Model_Sprite_Draw_TransparentCallback(), R_MotionBlurView(), R_ResetViewRendering2D_Common(), R_ResetViewRendering3D(), R_Shadow_ClearShadowMapTexture(), R_Shadow_DrawCoronas(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLightSprite_TransparentCallback(), R_Shadow_RenderMode_DrawDeferredLight(), R_SkyBox(), R_tcMod_ApplyToMatrix(), SV_GetEntityLocalTagMatrix(), SV_GetTagMatrix(), V_CalcRefdef(), V_CalcRefdefUsing(), VM_CL_skel_create(), and VM_SV_skel_create().