Rube Goldberg Machine 1.0
This is the base code for Rube Goldberg designed for the CS296 Software Systems Lab
Public Member Functions | Public Attributes
cs296::settings_t Struct Reference

Simulation settings. Some can be controlled in the GUI. More...

#include <cs296_base.hpp>

List of all members.

Public Member Functions

 settings_t ()
 Notice the initialization of the class members in the constructor Default Values of the struct provided after a colon.

Public Attributes

b2Vec2 view_center
float32 hz
int32 velocity_iterations
int32 position_iterations
int32 draw_shapes
int32 draw_joints
int32 draw_AABBs
int32 draw_pairs
int32 draw_contact_points
int32 draw_contact_normals
int32 draw_contact_forces
int32 draw_friction_forces
int32 draw_COMs
int32 draw_stats
int32 draw_profile
int32 enable_warm_starting
int32 enable_continuous
int32 enable_sub_stepping
int32 pause
int32 single_step

Detailed Description

Simulation settings. Some can be controlled in the GUI.

Simulation settings of the Box2D simulation. Some can be controlled in the GUI.

Definition at line 48 of file cs296_base.hpp.


Constructor & Destructor Documentation

cs296::settings_t::settings_t ( ) [inline]

Notice the initialization of the class members in the constructor Default Values of the struct provided after a colon.

hz(Frequency (Frame Rate) of the Simulation) = 60 Hz

Velocity Iterations = 8 :The constarint solver computes the impulses necessary for the bodies to move correctly

Position Iterations = 3 :The constraint solver adjusts the positions of the bodies to reduce overlap and joint detachment

Definition at line 52 of file cs296_base.hpp.


Member Data Documentation

Definition at line 92 of file cs296_base.hpp.

Definition at line 98 of file cs296_base.hpp.

Definition at line 96 of file cs296_base.hpp.

Definition at line 95 of file cs296_base.hpp.

Definition at line 94 of file cs296_base.hpp.

Definition at line 97 of file cs296_base.hpp.

Definition at line 91 of file cs296_base.hpp.

Definition at line 93 of file cs296_base.hpp.

Definition at line 100 of file cs296_base.hpp.

Definition at line 90 of file cs296_base.hpp.

Definition at line 99 of file cs296_base.hpp.

Definition at line 102 of file cs296_base.hpp.

Definition at line 103 of file cs296_base.hpp.

Definition at line 101 of file cs296_base.hpp.

hz(Frequency (Frame Rate) of the Simulation)

Definition at line 83 of file cs296_base.hpp.

Definition at line 104 of file cs296_base.hpp.

Position Iterations:The constraint solver adjusts the positions of the bodies to reduce overlap and joint detachment

Definition at line 89 of file cs296_base.hpp.

Definition at line 105 of file cs296_base.hpp.

Velocity Iterations:The constraint solver computes the impulses necessary for the bodies to move correctly

Definition at line 86 of file cs296_base.hpp.

Definition at line 81 of file cs296_base.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines