C# Class OpenTK.Math

Mostra file Open project: prepare/HTML-Renderer

Public Methods

Method Description
Add ( System.Vector2 left, System.Vector2 right ) : System.Vector2

Adds the given Vector2 to the current Vector3.

Add ( System.Vector2 left, Vector3 right ) : Vector3

Adds the given Vector3 to the current Vector3.

Add ( Vector3 left, System.Vector2 right ) : Vector3

Adds the given Vector2 to the current Vector3.

Add ( Vector3 left, Vector3 right ) : Vector3

Adds the given Vector3 to the current Vector3.

Add ( System.Vector2 left, System.Vector4 right ) : System.Vector4

Adds the given Vector4 to the current Vector3. W-coordinate remains unaffected.

Add ( Vector3 left, System.Vector4 right ) : System.Vector4

Adds the given Vector4 to the current Vector3. W-coordinate remains unaffected.

Add ( System.Vector4 left, System.Vector2 right ) : System.Vector4

Adds the given Vector2 to the current Vector3.

Add ( System.Vector4 left, Vector3 right ) : System.Vector4

Adds the given Vector3 to the current Vector3.

Add ( System.Vector4 left, System.Vector4 right ) : System.Vector4

Adds the given Vector4 to the current Vector3. W-coordinate remains unaffected.

Cross ( Vector3 left, Vector3 right ) : Vector3

Computes the cross product between the current and the given Vector3. The current Vector3 is set to the result of the computation.

Method Details

Add() public static method

Adds the given Vector2 to the current Vector3.
public static Add ( System.Vector2 left, System.Vector2 right ) : System.Vector2
left System.Vector2
right System.Vector2 The right operand of the addition.
return System.Vector2

Add() public static method

Adds the given Vector3 to the current Vector3.
public static Add ( System.Vector2 left, Vector3 right ) : Vector3
left System.Vector2
right Vector3 The right operand of the addition.
return Vector3

Add() public static method

Adds the given Vector2 to the current Vector3.
public static Add ( Vector3 left, System.Vector2 right ) : Vector3
left Vector3
right System.Vector2 The right operand of the addition.
return Vector3

Add() public static method

Adds the given Vector3 to the current Vector3.
public static Add ( Vector3 left, Vector3 right ) : Vector3
left Vector3
right Vector3 The right operand of the addition.
return Vector3

Add() public static method

Adds the given Vector4 to the current Vector3. W-coordinate remains unaffected.
public static Add ( System.Vector2 left, System.Vector4 right ) : System.Vector4
left System.Vector2
right System.Vector4 The right operand of the addition.
return System.Vector4

Add() public static method

Adds the given Vector4 to the current Vector3. W-coordinate remains unaffected.
public static Add ( Vector3 left, System.Vector4 right ) : System.Vector4
left Vector3
right System.Vector4 The right operand of the addition.
return System.Vector4

Add() public static method

Adds the given Vector2 to the current Vector3.
public static Add ( System.Vector4 left, System.Vector2 right ) : System.Vector4
left System.Vector4
right System.Vector2 The right operand of the addition.
return System.Vector4

Add() public static method

Adds the given Vector3 to the current Vector3.
public static Add ( System.Vector4 left, Vector3 right ) : System.Vector4
left System.Vector4
right Vector3 The right operand of the addition.
return System.Vector4

Add() public static method

Adds the given Vector4 to the current Vector3. W-coordinate remains unaffected.
public static Add ( System.Vector4 left, System.Vector4 right ) : System.Vector4
left System.Vector4
right System.Vector4 The right operand of the addition.
return System.Vector4

Cross() public static method

Computes the cross product between the current and the given Vector3. The current Vector3 is set to the result of the computation.
public static Cross ( Vector3 left, Vector3 right ) : Vector3
left Vector3
right Vector3 The right operand of the cross product
return Vector3