Vector3

There is currently no description for this class. Please help us by contributing one!

Properties

float

x

0.0

float

y

0.0

float

z

0.0

Constructors

Vector3

Vector3 ( )

Vector3

Vector3 ( Vector3 from )

Vector3

Vector3 ( Vector3i from )

Vector3

Vector3 ( float x, float y, float z )

Methods

Vector3

abs ( ) const

float

angle_to ( Vector3 to ) const

Vector3

bezier_derivative ( Vector3 control_1, Vector3 control_2, Vector3 end, float t ) const

Vector3

bezier_interpolate ( Vector3 control_1, Vector3 control_2, Vector3 end, float t ) const

Vector3

bounce ( Vector3 n ) const

Vector3

ceil ( ) const

Vector3

clamp ( Vector3 min, Vector3 max ) const

Vector3

clampf ( float min, float max ) const

Vector3

cross ( Vector3 with ) const

Vector3

cubic_interpolate ( Vector3 b, Vector3 pre_a, Vector3 post_b, float weight ) const

Vector3

cubic_interpolate_in_time ( Vector3 b, Vector3 pre_a, Vector3 post_b, float weight, float b_t, float pre_a_t, float post_b_t ) const

Vector3

direction_to ( Vector3 to ) const

float

distance_squared_to ( Vector3 to ) const

float

distance_to ( Vector3 to ) const

float

dot ( Vector3 with ) const

Vector3

floor ( ) const

Vector3

inverse ( ) const

bool

is_equal_approx ( Vector3 to ) const

bool

is_finite ( ) const

bool

is_normalized ( ) const

bool

is_zero_approx ( ) const

float

length ( ) const

float

length_squared ( ) const

Vector3

lerp ( Vector3 to, float weight ) const

Vector3

limit_length ( float length=1.0 ) const

Vector3

max ( Vector3 with ) const

int

max_axis_index ( ) const

Vector3

maxf ( float with ) const

Vector3

min ( Vector3 with ) const

int

min_axis_index ( ) const

Vector3

minf ( float with ) const

Vector3

move_toward ( Vector3 to, float delta ) const

Vector3

normalized ( ) const

Vector3

octahedron_decode ( Vector2 uv ) static

Vector2

octahedron_encode ( ) const

Basis

outer ( Vector3 with ) const

Vector3

posmod ( float mod ) const

Vector3

posmodv ( Vector3 modv ) const

Vector3

project ( Vector3 b ) const

Vector3

reflect ( Vector3 n ) const

Vector3

rotated ( Vector3 axis, float angle ) const

Vector3

round ( ) const

Vector3

sign ( ) const

float

signed_angle_to ( Vector3 to, Vector3 axis ) const

Vector3

slerp ( Vector3 to, float weight ) const

Vector3

slide ( Vector3 n ) const

Vector3

snapped ( Vector3 step ) const

Vector3

snappedf ( float step ) const

Operators

bool

operator != ( Vector3 right )

Vector3

operator * ( Basis right )

Vector3

operator * ( Quaternion right )

Vector3

operator * ( Transform3D right )

Vector3

operator * ( Vector3 right )

Vector3

operator * ( float right )

Vector3

operator * ( int right )

Vector3

operator + ( Vector3 right )

Vector3

operator - ( Vector3 right )

Vector3

operator / ( Vector3 right )

Vector3

operator / ( float right )

Vector3

operator / ( int right )

bool

operator < ( Vector3 right )

bool

operator <= ( Vector3 right )

bool

operator == ( Vector3 right )

bool

operator > ( Vector3 right )

bool

operator >= ( Vector3 right )

float

operator [] ( int index )

Vector3

operator unary+ ( )

Vector3

operator unary- ( )


Constants

AXIS_X = 0

There is currently no description for this constant. Please help us by contributing one!

AXIS_Y = 1

There is currently no description for this constant. Please help us by contributing one!

AXIS_Z = 2

There is currently no description for this constant. Please help us by contributing one!

ZERO = Vector3(0, 0, 0)

There is currently no description for this constant. Please help us by contributing one!

ONE = Vector3(1, 1, 1)

There is currently no description for this constant. Please help us by contributing one!

INF = Vector3(inf, inf, inf)

There is currently no description for this constant. Please help us by contributing one!

LEFT = Vector3(-1, 0, 0)

There is currently no description for this constant. Please help us by contributing one!

RIGHT = Vector3(1, 0, 0)

There is currently no description for this constant. Please help us by contributing one!

UP = Vector3(0, 1, 0)

There is currently no description for this constant. Please help us by contributing one!

DOWN = Vector3(0, -1, 0)

There is currently no description for this constant. Please help us by contributing one!

FORWARD = Vector3(0, 0, -1)

There is currently no description for this constant. Please help us by contributing one!

BACK = Vector3(0, 0, 1)

There is currently no description for this constant. Please help us by contributing one!

MODEL_LEFT = Vector3(1, 0, 0)

There is currently no description for this constant. Please help us by contributing one!

MODEL_RIGHT = Vector3(-1, 0, 0)

There is currently no description for this constant. Please help us by contributing one!

MODEL_TOP = Vector3(0, 1, 0)

There is currently no description for this constant. Please help us by contributing one!

MODEL_BOTTOM = Vector3(0, -1, 0)

There is currently no description for this constant. Please help us by contributing one!

MODEL_FRONT = Vector3(0, 0, 1)

There is currently no description for this constant. Please help us by contributing one!

MODEL_REAR = Vector3(0, 0, -1)

There is currently no description for this constant. Please help us by contributing one!


Property Descriptions

float x = 0.0

There is currently no description for this property. Please help us by contributing one!


float y = 0.0

There is currently no description for this property. Please help us by contributing one!


float z = 0.0

There is currently no description for this property. Please help us by contributing one!


Constructor Descriptions

Vector3 Vector3 ( )

There is currently no description for this constructor. Please help us by contributing one!


Vector3 Vector3 ( Vector3 from )

There is currently no description for this constructor. Please help us by contributing one!


Vector3 Vector3 ( Vector3i from )

There is currently no description for this constructor. Please help us by contributing one!


Vector3 Vector3 ( float x, float y, float z )

There is currently no description for this constructor. Please help us by contributing one!


Method Descriptions

Vector3 abs ( ) const

There is currently no description for this method. Please help us by contributing one!


float angle_to ( Vector3 to ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 bezier_derivative ( Vector3 control_1, Vector3 control_2, Vector3 end, float t ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 bezier_interpolate ( Vector3 control_1, Vector3 control_2, Vector3 end, float t ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 bounce ( Vector3 n ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 ceil ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 clamp ( Vector3 min, Vector3 max ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 clampf ( float min, float max ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 cross ( Vector3 with ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 cubic_interpolate ( Vector3 b, Vector3 pre_a, Vector3 post_b, float weight ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 cubic_interpolate_in_time ( Vector3 b, Vector3 pre_a, Vector3 post_b, float weight, float b_t, float pre_a_t, float post_b_t ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 direction_to ( Vector3 to ) const

There is currently no description for this method. Please help us by contributing one!


float distance_squared_to ( Vector3 to ) const

There is currently no description for this method. Please help us by contributing one!


float distance_to ( Vector3 to ) const

There is currently no description for this method. Please help us by contributing one!


float dot ( Vector3 with ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 floor ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 inverse ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_equal_approx ( Vector3 to ) const

There is currently no description for this method. Please help us by contributing one!


bool is_finite ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_normalized ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_zero_approx ( ) const

There is currently no description for this method. Please help us by contributing one!


float length ( ) const

There is currently no description for this method. Please help us by contributing one!


float length_squared ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 lerp ( Vector3 to, float weight ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 limit_length ( float length=1.0 ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 max ( Vector3 with ) const

There is currently no description for this method. Please help us by contributing one!


int max_axis_index ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 maxf ( float with ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 min ( Vector3 with ) const

There is currently no description for this method. Please help us by contributing one!


int min_axis_index ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 minf ( float with ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 move_toward ( Vector3 to, float delta ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 normalized ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 octahedron_decode ( Vector2 uv ) static

There is currently no description for this method. Please help us by contributing one!


Vector2 octahedron_encode ( ) const

There is currently no description for this method. Please help us by contributing one!


Basis outer ( Vector3 with ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 posmod ( float mod ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 posmodv ( Vector3 modv ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 project ( Vector3 b ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 reflect ( Vector3 n ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 rotated ( Vector3 axis, float angle ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 round ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 sign ( ) const

There is currently no description for this method. Please help us by contributing one!


float signed_angle_to ( Vector3 to, Vector3 axis ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 slerp ( Vector3 to, float weight ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 slide ( Vector3 n ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 snapped ( Vector3 step ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 snappedf ( float step ) const

There is currently no description for this method. Please help us by contributing one!


Operator Descriptions

bool operator != ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator * ( Basis right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator * ( Quaternion right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator * ( Transform3D right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator * ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator * ( float right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator * ( int right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator + ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator - ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator / ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator / ( float right )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator / ( int right )

There is currently no description for this operator. Please help us by contributing one!


bool operator < ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


bool operator <= ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


bool operator == ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


bool operator > ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


bool operator >= ( Vector3 right )

There is currently no description for this operator. Please help us by contributing one!


float operator [] ( int index )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator unary+ ( )

There is currently no description for this operator. Please help us by contributing one!


Vector3 operator unary- ( )

There is currently no description for this operator. Please help us by contributing one!