mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Removing old vector math.
This commit is contained in:
@@ -576,13 +576,6 @@ namespace bx
|
||||
*_outV = theta*bx::kInvPi;
|
||||
}
|
||||
|
||||
inline void vec3Abs(float* _result, const float* _a)
|
||||
{
|
||||
_result[0] = abs(_a[0]);
|
||||
_result[1] = abs(_a[1]);
|
||||
_result[2] = abs(_a[2]);
|
||||
}
|
||||
|
||||
inline void vec3Add(float* _result, const float* _a, const float* _b)
|
||||
{
|
||||
_result[0] = _a[0] + _b[0];
|
||||
@@ -590,13 +583,6 @@ namespace bx
|
||||
_result[2] = _a[2] + _b[2];
|
||||
}
|
||||
|
||||
inline void vec3Add(float* _result, const float* _a, float _b)
|
||||
{
|
||||
_result[0] = _a[0] + _b;
|
||||
_result[1] = _a[1] + _b;
|
||||
_result[2] = _a[2] + _b;
|
||||
}
|
||||
|
||||
inline void vec3Sub(float* _result, const float* _a, const float* _b)
|
||||
{
|
||||
_result[0] = _a[0] - _b[0];
|
||||
@@ -604,13 +590,6 @@ namespace bx
|
||||
_result[2] = _a[2] - _b[2];
|
||||
}
|
||||
|
||||
inline void vec3Sub(float* _result, const float* _a, float _b)
|
||||
{
|
||||
_result[0] = _a[0] - _b;
|
||||
_result[1] = _a[1] - _b;
|
||||
_result[2] = _a[2] - _b;
|
||||
}
|
||||
|
||||
inline void vec3Mul(float* _result, const float* _a, const float* _b)
|
||||
{
|
||||
_result[0] = _a[0] * _b[0];
|
||||
|
||||
@@ -335,21 +335,12 @@ namespace bx
|
||||
///
|
||||
void toLatLong(float* _outU, float* _outV, const Vec3& _dir);
|
||||
|
||||
///
|
||||
void vec3Abs(float* _result, const float* _a);
|
||||
|
||||
///
|
||||
void vec3Add(float* _result, const float* _a, const float* _b);
|
||||
|
||||
///
|
||||
void vec3Add(float* _result, const float* _a, float _b);
|
||||
|
||||
///
|
||||
void vec3Sub(float* _result, const float* _a, const float* _b);
|
||||
|
||||
///
|
||||
void vec3Sub(float* _result, const float* _a, float _b);
|
||||
|
||||
///
|
||||
void vec3Mul(float* _result, const float* _a, const float* _b);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user