C# Class MilkShakeFramework.Core.Game.Components.Polygon.GiftWrap.GiftWrapPolygonModifier

Inheritance: PolygonModifier
Mostrar archivo Open project: lucas-jones/MilkShake-old

Public Methods

Method Description
FixUp ( ) : void
GiftWrapPolygonModifier ( List points, GiftWrapRenderer giftWrapRenderer, float height = 10, float depth = 10 ) : System
OnRendererRefresh ( ) : void
V2ToAngle ( Vector2 direction ) : float
adverageAngle ( float angleOne, float angleTwo ) : float

Private Methods

Method Description
GetProjectionMatrix ( ) : Matrix
GetViewMatrix ( ) : Matrix
MakeZone ( Vector2 pointA, Vector2 pointB, Vector2 pointC, Vector2 pointD ) : void

Method Details

FixUp() public method

public FixUp ( ) : void
return void

GiftWrapPolygonModifier() public method

public GiftWrapPolygonModifier ( List points, GiftWrapRenderer giftWrapRenderer, float height = 10, float depth = 10 ) : System
points List
giftWrapRenderer GiftWrapRenderer
height float
depth float
return System

OnRendererRefresh() public method

public OnRendererRefresh ( ) : void
return void

V2ToAngle() public method

public V2ToAngle ( Vector2 direction ) : float
direction Vector2
return float

adverageAngle() public method

public adverageAngle ( float angleOne, float angleTwo ) : float
angleOne float
angleTwo float
return float