------------------------------------------------------------------------------
Add mass properties. mB is optional.
mA and/or mB may be arrays of data structures.
-------------------------------------------------------------------------------
Form:
m = AddMass( mA, mB, u )
-------------------------------------------------------------------------------
------
Inputs
------
mA (:) Mass data structure
.mass (1,1) Mass
.cM (3,1) Center-of-mass
.inertia (3,3) Inertia matrix
mB (:) Mass data structure
.mass (1,1) Mass
.cM (3,1) Center-of-mass
.inertia (3,3) Inertia matrix
u (1,:) Units
-------
Outputs
-------
m (:) Mass data structure
.mass (1,1) Mass
.cM (3,1) Center-of-mass
.inertia (3,3) Inertia matrix
-------------------------------------------------------------------------------