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:
@@ -773,25 +773,6 @@ namespace bx
|
||||
};
|
||||
}
|
||||
|
||||
inline void vec3Add(float* _result, const float* _a, const float* _b)
|
||||
{
|
||||
_result[0] = _a[0] + _b[0];
|
||||
_result[1] = _a[1] + _b[1];
|
||||
_result[2] = _a[2] + _b[2];
|
||||
}
|
||||
|
||||
inline void vec3Sub(float* _result, const float* _a, const float* _b)
|
||||
{
|
||||
_result[0] = _a[0] - _b[0];
|
||||
_result[1] = _a[1] - _b[1];
|
||||
_result[2] = _a[2] - _b[2];
|
||||
}
|
||||
|
||||
inline float vec3Dot(const float* _a, const float* _b)
|
||||
{
|
||||
return _a[0]*_b[0] + _a[1]*_b[1] + _a[2]*_b[2];
|
||||
}
|
||||
|
||||
inline void mtxIdentity(float* _result)
|
||||
{
|
||||
memSet(_result, 0, sizeof(float)*16);
|
||||
|
||||
@@ -375,15 +375,6 @@ namespace bx
|
||||
///
|
||||
BX_CONST_FUNC Quaternion rotateZ(float _az);
|
||||
|
||||
///
|
||||
void vec3Add(float* _result, const float* _a, const float* _b);
|
||||
|
||||
///
|
||||
void vec3Sub(float* _result, const float* _a, const float* _b);
|
||||
|
||||
///
|
||||
float vec3Dot(const float* _a, const float* _b);
|
||||
|
||||
///
|
||||
void mtxIdentity(float* _result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user