C# Класс burningmime.curves.VectorHelper

The point of this class is to abstract some of the functions of Vector2 so they can be used with System.Windows.Vector, System.Numerics.Vector2, UnityEngine.Vector2, or another vector type.
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
Distance ( System.Windows.Vector a, System.Windows.Vector b ) : System.Double
DistanceSquared ( System.Windows.Vector a, System.Windows.Vector b ) : System.Double
Dot ( System.Windows.Vector a, System.Windows.Vector b ) : System.Double
EqualsOrClose ( System.Windows.Vector v1, System.Windows.Vector v2 ) : bool
GetX ( System.Windows.Vector v ) : System.Double
GetY ( System.Windows.Vector v ) : System.Double
Length ( System.Windows.Vector v ) : System.Double
LengthSquared ( System.Windows.Vector v ) : System.Double
Lerp ( System.Windows.Vector a, System.Windows.Vector b, System.Double amount ) : System.Windows.Vector
Normalize ( System.Windows.Vector v ) : System.Windows.Vector