// SetParams sets the mass parameters. func (m *Mass) SetParams(mass float64, com Vector3, inert Matrix3) { c := &C.dMass{} C.dMassSetParameters(c, C.dReal(mass), C.dReal(com[0]), C.dReal(com[1]), C.dReal(com[2]), C.dReal(inert[0][0]), C.dReal(inert[1][1]), C.dReal(inert[2][2]), C.dReal(inert[0][1]), C.dReal(inert[0][2]), C.dReal(inert[1][3])) m.fromC(c) }
func (m *Mass) SetParameters(themass, cgx, cgy, cgz, I11, I22, I33, I12, I13, I23 Real) { C.dMassSetParameters((*C.dMass)(m), C.dReal(themass), C.dReal(cgx), C.dReal(cgy), C.dReal(cgz), C.dReal(I11), C.dReal(I22), C.dReal(I33), C.dReal(I12), C.dReal(I13), C.dReal(I23)) }