MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / GetViewCameraPos

Method GetViewCameraPos

CrySystem/ScriptObjectSystem.cpp:2512–2519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2510}
2511
2512int CScriptObjectSystem::GetViewCameraPos(IFunctionHandler *pH)
2513{
2514 CHECK_PARAMETERS(0);
2515 CCamera &Camera=m_pSystem->GetViewCamera();
2516 CScriptObjectVector oVec(m_pScriptSystem);
2517 oVec.Set(Camera.GetPos());
2518 return pH->EndFunction(*oVec);
2519}
2520
2521int CScriptObjectSystem::RayWorldIntersection(IFunctionHandler *pH)
2522{

Callers

nothing calls this directly

Calls 3

EndFunctionMethod · 0.80
SetMethod · 0.45
GetPosMethod · 0.45

Tested by

no test coverage detected