Physics-Simulator
v1.4.0-beta.2
|
Values used for certain equations
. More...
Variables | |
const float | global::equations::kVelocityScalar = 0.1 |
const float | global::equations::kTimeSizeRatio = 0.025 |
const float | global::equations::kMassAlphaRatio = 41.166 |
const float | global::equations::kMassAlphaOffset = 130.84 |
const float | global::equations::kAlphaMinimum = 50 |
Values used for certain equations
.
const float global::equations::kAlphaMinimum = 50 |
The lowest that the alpha value is allowed to be, for reference 0 is completely transparent and 255 is completely opaque
const float global::equations::kMassAlphaOffset = 130.84 |
The offset for the equation of mass to alpha value
The equation used is Global::Equations::kMassAlphaRatio ln( clsCannonball::props.mass ) + Global::Equations::kMassAlphaOffset
const float global::equations::kMassAlphaRatio = 41.166 |
The ratio between mass and its alpha (transparent) value.
The equation used is Global::Equations::kMassAlphaRatio ln( clsCannonball::props.mass ) + Global::Equations::kMassAlphaOffset
const float global::equations::kTimeSizeRatio = 0.025 |
One second of holding down the mouse button = this many meters for the ball
const float global::equations::kVelocityScalar = 0.1 |
Changing this effects the ratio of the line to the velocity when creating a cannonball