C# 클래스 hyades.ShapeBuilder

파일 보기 프로젝트 열기: zfedoran/bubblebound

공개 메소드들

메소드 설명
GetShape ( Matrix &transform, Plane p ) : Vector2[]
IntersectPlane ( Plane p, List vertices, List indices, List &points, List &lines ) : void
ShapeBuilder ( Model model ) : System
Transform ( Matrix &transform, List vertices ) : List

비공개 메소드들

메소드 설명
CreateShape ( List vertices, List lines, float epsilon ) : List
IntersectSegmentPlane ( Vector3 a, Vector3 b, Plane p, Vector3 &q ) : bool
PolygonReduce ( List shape, float distance ) : List
Same ( Vector3 a, Vector3 b, float epsilon ) : bool
ShapeBuilder ( ) : System

메소드 상세

GetShape() 공개 메소드

public GetShape ( Matrix &transform, Plane p ) : Vector2[]
transform Matrix
p Plane
리턴 Vector2[]

IntersectPlane() 공개 정적인 메소드

public static IntersectPlane ( Plane p, List vertices, List indices, List &points, List &lines ) : void
p Plane
vertices List
indices List
points List
lines List
리턴 void

ShapeBuilder() 공개 메소드

public ShapeBuilder ( Model model ) : System
model Microsoft.Xna.Framework.Graphics.Model
리턴 System

Transform() 공개 정적인 메소드

public static Transform ( Matrix &transform, List vertices ) : List
transform Matrix
vertices List
리턴 List