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

Function get_camera_box

ogsr_engine/xrGame/ActorCameraCollision.cpp:201–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void get_camera_box(Fvector& box_size, Fmatrix& xform, const CCameraBase& camera, float _viewport_near)
202{
203 get_viewport_geom(box_size, xform, camera, _viewport_near);
204 box_size.add(Fvector().set(camera_collision_sckin_depth, camera_collision_sckin_depth, camera_collision_sckin_depth));
205}
206
207void get_old_camera_box(Fvector& old_box_size, Fmatrix& old_form, CPhysicsElement* roote, CBoxGeom* box)
208{

Callers 1

collide_cameraFunction · 0.85

Calls 3

get_viewport_geomFunction · 0.85
addMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected