fix const correctness in inertia.h
This commit is contained in:
parent
d3d496848d
commit
1b20698dfb
|
|
@ -88,7 +88,7 @@ public:
|
||||||
When you create a Inertia object, you have to specify the mesh that it refers to.
|
When you create a Inertia object, you have to specify the mesh that it refers to.
|
||||||
The properties are computed at that moment. Subsequent modification of the mesh does not affect these values.
|
The properties are computed at that moment. Subsequent modification of the mesh does not affect these values.
|
||||||
*/
|
*/
|
||||||
Inertia(MeshType &m) {Compute(m);}
|
Inertia(const MeshType &m) { Compute(m); }
|
||||||
|
|
||||||
/* compute various integrations over projection of face */
|
/* compute various integrations over projection of face */
|
||||||
void compProjectionIntegrals(const FaceType &f)
|
void compProjectionIntegrals(const FaceType &f)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue