Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
BEPUphysics
CollisionShapes
ConvexShapes
TriangleShape
ComputeCenter
BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape.ComputeCenter C# (CSharp) Method
TriangleShape Class Documentation
Datei anzeigen
Open project: Indiefreaks/igf
ComputeCenter()
public
method
Computes the center of the shape. This can be considered its center of mass.
public
ComputeCenter
( ) :
System.Vector3
return
System.Vector3
public override Vector3 ComputeCenter() { return (vA + vB + vC) / 3; }
Same methods
TriangleShape::
ComputeCenter
(
float
&
volume
) :
System.Vector3
TriangleShape
ComputeCenter
ComputeMaximumRadius
ComputeMinimumRadius
ComputeVolume
ComputeVolumeDistribution
GetBoundingBox
GetCollidableInstance
GetLocalExtremePointWithoutMargin
GetLocalNormal
GetNormal
RayTest
ToString
TriangleShape