The Vec3 type exposes the following members.

Constructors

  NameDescription
Public methodVec3()()()()
Initializes a new instance of the vec3 class
Public methodVec3(array<Single>[]()[][])
Initializes a new instance of the vec3 class
Public methodVec3(Single, Single)
Initializes a new instance of the vec3 class
Public methodVec3(Single, Single, Single)
Initializes a new instance of the vec3 class

Methods

  NameDescription
Public methodCross
Calculates the cross product of two Vec3
Public methoddist
Returns the length of the difference vector
Public methoddist2
Returns the Norm of the difference vector
Public methodDot
Calculates the dot product
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLength
Returns the length of the Vec3
Public methodLength2
Calculates the length of the vector projected to the XY-Plane
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNorm
Returns the norm of the Vec3
Public methodNormalize
Normalizes the Vec3
Public methodPrint
Prints the Vec3 to the console
Public methodToString (Overrides Object..::..ToString()()()().)

Operators

  NameDescription
Public operatorStatic memberAddition
Add operator for two Vec3
Public operatorStatic memberDivision
Division for a Vec3 and a skalar
Public operatorStatic memberEquality
Equal operation for Vec3
Public operatorStatic memberInequality
Unqual operation for Vec3
Public operatorStatic memberMultiply
Multiplikation for a Vec3 and a skalar
Public operatorStatic memberSubtraction
Subtract operator for two Vec3
Public operatorStatic memberUnaryNegation
Negate operation for a Vec3

Properties

  NameDescription
Public propertyItem
Index operator

See Also