MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ProcessIfInvalid

Method ProcessIfInvalid

ogsr_engine/xrGame/ActorEffector_script.cpp:7–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "../xr_3da/ObjectAnimator.h"
6
7void CAnimatorCamEffectorScriptCB::ProcessIfInvalid(SCamEffectorInfo& info)
8{
9 if (m_bAbsolutePositioning)
10 {
11 const Fmatrix& m = m_objectAnimator->XFORM();
12 info.d = m.k;
13 info.n = m.j;
14 info.p = m.c;
15 if (m_fov > 0.0f)
16 info.fFov = m_fov;
17 }
18}
19
20BOOL CAnimatorCamEffectorScriptCB::Valid()
21{

Callers 1

ProcessCameraEffectorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected