-
Notifications
You must be signed in to change notification settings - Fork 1
Vec
Class Name: Vec
Vector2 and Vector3 simple performant calculations.
Vec is a static class that helps with some simple Vector2 and Vector3 calculations and some performance friendly calculations. Since this is a static class you can call the methods directly.
This method calculates the squared distance between two Vector3s
float distance_fixed_vec3_var ( COP_FixedVector3Var value1, COP_FixedVector3Var value2 )
This method calculates the squared distance between two COP_FixedVector3Vars.
float distance_vec3_var ( COP_Vector3Var value1, COP_Vector3Var value2 )
This method calculates the squared distance between two COP_Vector3Vars.
This method calculates the squared distance between two Vector2s.
float distance_fixed_vec2_var ( COP_FixedVector2Var value1, COP_FixedVector2Var value2 )
This method calculates the squared distance between two COP_FixedVector2Vars.
float distance_vec2_var ( COP_Vector2Var value1, COP_Vector2Var value2 )
This method calculates the squared distance between two COP_Vector2Vars.
This method subtracts two Vector3s.
Vector3 subtract_fixed_vec3_var ( COP_FixedVector3Var value1, COP_FixedVector3Var value2 )
This method subtracts two COP_FixedVector3Vars and returns a Vector3.
Vector3 subtract_vec3_var ( COP_Vector3Var value1, COP_Vector3Var value2 )
This method subtracts two COP_Vector3Vars and returns a Vector3.
This method subtracts two Vector2s.
Vector2 subtract_fixed_vec2_var ( COP_FixedVector2Var value1, COP_FixedVector2Var value2 )
This method subtracts two COP_FixedVector2Vars and returns a Vector2.
Vector2 subtract_vec2_var ( COP_Vector2Var value1, COP_Vector2Var value2 )
This method subtracts two COP_Vector2Vars and returns a Vector2.
This method adds two Vector3s.
Vector3 add_fixed_vec3_var ( COP_FixedVector3Var value1, COP_FixedVector3Var value2 )
This method adds two COP_FixedVector3Vars and returns a Vector3.
Vector3 add_vec3_var ( COP_Vector3Var value1, COP_Vector3Var value2 )
This method adds two COP_Vector3Vars and returns a Vector3.
This method adds two Vector2s.
Vector2 add_fixed_vec2_var ( COP_FixedVector2Var value1, COP_FixedVector2Var value2 )
This method adds two COP_FixedVector2Vars and returns a Vector2.
Vector2 add_vec2_var ( COP_Vector2Var value1, COP_Vector2Var value2 )
This method adds two COP_Vector2Vars and returns a Vector2.
This method divides the given Vector3 with the given float value and returns a Vector3
Vector3 divide_fixed_vec3_var ( COP_FixedVector3Var vector, float value )
This method divides the COP_FixedVector3Var with the given float value and returns a Vector3.
Vector3 divide_vec3_var ( COP_Vector3Var vector, float value )
This method divides the COP_Vector3Var with the given float value and returns a Vector3.
This method divides the Vector2 with the given float value and returns a Vector2.
Vector2 divide_fixed_vec2_var ( COP_FixedVector2Var vector, float value )
This method divides the COP_FixedVector2Var with the given float value and returns a Vector2
Vector2 divide_vec2_var ( COP_Vector2Var vector, float value )
This method divides the COP_Vector2Var with the given float value and returns Vector2.
This method multiplies the given Vector3 with the given float value and returns a Vector3
Vector3 multiply_fixed_vec3_var ( COP_FixedVector3Var vector, float value )
This method multiplies the COP_FixedVector3Var with the given float value and returns a Vector3.
Vector3 multiply_vec3_var ( COP_Vector3Var vector, float value )
This method multiplies the COP_Vector3Var with the given float value and returns a Vector3.
This method multiplies the Vector2 with the given float value and returns a Vector2.
Vector2 multiply_fixed_vec2_var ( COP_FixedVector2Var vector, float value )
This method multiplies the COP_FixedVector2Var with the given float value and returns a Vector2
Vector2 multiply_vec2_var ( COP_Vector2Var vector, float value )
This method multiplies the COP_Vector2Var with the given float value and returns Vector2.
This method sets the Vector3 values with the given float values and then returns a Vector3.
This method sets the Vector2 values with the given float values and then returns a Vector2.
- Tutorial Bar
- Tutorial Debug
- Tutorial Instantiate Object
- Tutorial Pool
- Tutorial Timer
- Tutorial Update Manager
- Tutorial Variable Creator
- Bars
- Debugs
- Maths
- Pools
- Resources
- Fixed Vars
- Managers
- Observers
- Vars
- Script Templates
- Timers
- Updates