C# Class Ijw.Math.Vector4

Show file Open project: chrisforbes/Ijw.Framework

Public Properties

Property Type Description
x float

Public Methods

Method Description
CatmullRom ( float t, Vector4 v0, Vector4 v1, Vector4 v2, Vector4 v3 ) : Vector4
CatmullRomDeriv ( float t, Vector4 v0, Vector4 v1, Vector4 v2, Vector4 v3 ) : Vector4
Dot ( Vector4 a, Vector4 b ) : float
DotNormal ( Vector3 a, Vector4 b ) : float
DotPoint ( Vector3 a, Vector4 b ) : float
Read ( BinaryReader reader ) : Vector4
Vector4 ( Vector3 v, float w ) : System
Vector4 ( float x, float y, float z, float w ) : System
Write ( BinaryWriter writer ) : void
operator ( ) : Vector4

Method Details

CatmullRom() public static method

public static CatmullRom ( float t, Vector4 v0, Vector4 v1, Vector4 v2, Vector4 v3 ) : Vector4
t float
v0 Vector4
v1 Vector4
v2 Vector4
v3 Vector4
return Vector4

CatmullRomDeriv() public static method

public static CatmullRomDeriv ( float t, Vector4 v0, Vector4 v1, Vector4 v2, Vector4 v3 ) : Vector4
t float
v0 Vector4
v1 Vector4
v2 Vector4
v3 Vector4
return Vector4

Dot() public static method

public static Dot ( Vector4 a, Vector4 b ) : float
a Vector4
b Vector4
return float

DotNormal() public static method

public static DotNormal ( Vector3 a, Vector4 b ) : float
a Vector3
b Vector4
return float

DotPoint() public static method

public static DotPoint ( Vector3 a, Vector4 b ) : float
a Vector3
b Vector4
return float

Read() public static method

public static Read ( BinaryReader reader ) : Vector4
reader System.IO.BinaryReader
return Vector4

Vector4() public method

public Vector4 ( Vector3 v, float w ) : System
v Vector3
w float
return System

Vector4() public method

public Vector4 ( float x, float y, float z, float w ) : System
x float
y float
z float
w float
return System

Write() public method

public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void

operator() public static method

public static operator ( ) : Vector4
return Vector4

Property Details

x public property

public float x
return float