Removing old vector math.

This commit is contained in:
Branimir Karadžić
2018-12-20 23:25:42 -08:00
parent c806ce5258
commit 12b49cbc76
2 changed files with 0 additions and 32 deletions

View File

@@ -943,13 +943,6 @@ namespace bx
_result[2] = _vec[0] * _mat[ 2] + _vec[1] * _mat[6] + _vec[2] * _mat[10] + _mat[14];
}
inline void vec3MulMtxXyz0(float* _result, const float* _vec, const float* _mat)
{
_result[0] = _vec[0] * _mat[ 0] + _vec[1] * _mat[4] + _vec[2] * _mat[ 8];
_result[1] = _vec[0] * _mat[ 1] + _vec[1] * _mat[5] + _vec[2] * _mat[ 9];
_result[2] = _vec[0] * _mat[ 2] + _vec[1] * _mat[6] + _vec[2] * _mat[10];
}
inline void vec3MulMtxH(float* _result, const float* _vec, const float* _mat)
{
float xx = _vec[0] * _mat[ 0] + _vec[1] * _mat[4] + _vec[2] * _mat[ 8] + _mat[12];
@@ -962,22 +955,6 @@ namespace bx
_result[2] = zz*invW;
}
inline void vec4Mul(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];
_result[3] = _a[3] * _b[3];
}
inline void vec4Mul(float* _result, const float* _a, float _b)
{
_result[0] = _a[0] * _b;
_result[1] = _a[1] * _b;
_result[2] = _a[2] * _b;
_result[3] = _a[3] * _b;
}
inline void vec4MulMtx(float* _result, const float* _vec, const float* _mat)
{
_result[0] = _vec[0] * _mat[ 0] + _vec[1] * _mat[4] + _vec[2] * _mat[ 8] + _vec[3] * _mat[12];

View File

@@ -516,18 +516,9 @@ namespace bx
///
void vec3MulMtx(float* _result, const float* _vec, const float* _mat);
///
void vec3MulMtxXyz0(float* _result, const float* _vec, const float* _mat);
///
void vec3MulMtxH(float* _result, const float* _vec, const float* _mat);
///
void vec4Mul(float* _result, const float* _a, const float* _b);
///
void vec4Mul(float* _result, const float* _a, float _b);
///
void vec4MulMtx(float* _result, const float* _vec, const float* _mat);