C# Class Nez.Vector2Ext

Afficher le fichier Open project: prime31/Nez Class Usage Examples

Private Methods

Méthode Description
angle ( Vector2 from, Vector2 to ) : float
angleBetween ( this self, Vector2 left, Vector2 right ) : float
cross ( Vector2 u, Vector2 v ) : float
floor ( Vector2 val ) : Vector2
floor ( Vector2 &val ) : void
getRayIntersection ( Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 &intersection ) : bool
halfVector ( ) : Vector2
isTriangleCCW ( Vector2 a, Vector2 center, Vector2 c ) : bool
normalize ( Vector2 vec ) : Vector2
normalize ( Vector2 &vec ) : void
perpendicular ( Vector2 original ) : Vector2
perpendicular ( Vector2 &first, Vector2 &second ) : Vector2
round ( this vec ) : Vector2
round ( Vector2 &vec ) : void
toVector3 ( this vec ) : Microsoft.Xna.Framework.Vector3
transform ( Vector2 position, Matrix2D matrix ) : Vector2
transform ( Vector2 &position, Matrix2D &matrix, Vector2 &result ) : void
transform ( Vector2 sourceArray, int sourceIndex, Matrix2D &matrix, Vector2 destinationArray, int destinationIndex, int length ) : void