func (m *Mass) SetTrimeshTotal(total_mass Real, g *Geom) { C.dMassSetTrimeshTotal((*C.dMass)(m), C.dReal(total_mass), (C.dGeomID)((*C.struct_dxGeom)(g))) }
// SetTrimeshTotal sets the mass for the given triangle mesh. func (m *Mass) SetTriMeshTotal(totalMass float64, mesh TriMesh) { c := &C.dMass{} C.dMassSetTrimeshTotal(c, C.dReal(totalMass), mesh.c()) m.fromC(c) }