Physics-Simulator  v1.4.0-beta.2
stcPhysicalProperties Struct Reference

#include <cannonball.h>

Public Attributes

double radius
 
double mass
 
double area
 
double volume
 
double density
 
double interia
 

Member Data Documentation

◆ area

double stcPhysicalProperties::area

HALF of Area of the ball in terms of m2, it is only half because the drag equation only needs the area facing the wind, and it saves me from having to divide.

◆ density

double stcPhysicalProperties::density

Density of the ball in kg/m^3 see Global::Physics::uBallDensity

◆ interia

double stcPhysicalProperties::interia

Interia of the ball in kg-m^2

◆ mass

double stcPhysicalProperties::mass

Mass of the ball in kilograms

◆ radius

double stcPhysicalProperties::radius

Radius in meters

◆ volume

double stcPhysicalProperties::volume

Volume of the ball in m^3


The documentation for this struct was generated from the following file: