func (m *Mass) Translate(v Vector3) { C.dMassTranslate((*C.dMass)(m), C.dReal(v[0]), C.dReal(v[1]), C.dReal(v[2])) }
// Translate translates the mass by vec. func (m *Mass) Translate(vec Vector3) { c := &C.dMass{} m.toC(c) C.dMassTranslate(c, C.dReal(vec[0]), C.dReal(vec[1]), C.dReal(vec[2])) m.fromC(c) }