MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / reset

Method reset

Source/Graphics/camera.cpp:833–849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831}
832
833void Camera::reset() {
834 target_horz_fov = 90.0f;
835 near_plane = 0.1f;
836 far_plane = 1000.0f;
837 chase_distance = 0.0f;
838 old_chase_distance = 0.0f;
839 y_rotation = 0.0f;
840 x_rotation = 0.0f;
841 z_rotation = 0.0f;
842 old_y_rotation = 0.0f;
843 old_x_rotation = 0.0f;
844 old_z_rotation = 0.0f;
845 interp_steps = 1;
846 interp_progress = 0;
847 flags_ = 0;
848 flexible_fov = true;
849}
850
851void Camera::SetInterpSteps(int num_steps) {
852 interp_steps = num_steps;

Callers 13

ReadMethod · 0.45
PhysicsDisposeMethod · 0.45
PreparePhysicsMeshMethod · 0.45
CreateRiggedObjectMethod · 0.45
InitializeMethod · 0.45
DisposeMethod · 0.45
LoadMethod · 0.45
InitializeMethod · 0.45
InitializeMethod · 0.45
ResetMethod · 0.45
CreateStaticMeshMethod · 0.45
FinalizeStaticEntriesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected