BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape.GetNormal C# (CSharp) Method

GetNormal() public method

Gets the normal of the triangle in world space.
public GetNormal ( RigidTransform transform ) : System.Vector3
transform BEPUutilities.RigidTransform World transform.
return System.Vector3
        public Vector3 GetNormal(RigidTransform transform)
        {
            Vector3 normal = GetLocalNormal();
            Vector3.Transform(ref normal, ref transform.Orientation, out normal);
            return normal;
        }