| 111 | }; |
| 112 | |
| 113 | inline void ScaleMatrix(BoneTransform& result, const BoneTransform& mat, const float s) { |
| 114 | result.rowx.x = s * mat.rowx.x; |
| 115 | result.rowx.y = s * mat.rowx.y; |
| 116 | result.rowx.z = s * mat.rowx.z; |
| 117 | result.rowx.w = s * mat.rowx.w; |
| 118 | result.rowy.x = s * mat.rowy.x; |
| 119 | result.rowy.y = s * mat.rowy.y; |
| 120 | result.rowy.z = s * mat.rowy.z; |
| 121 | result.rowy.w = s * mat.rowy.w; |
| 122 | result.rowz.x = s * mat.rowz.x; |
| 123 | result.rowz.y = s * mat.rowz.y; |
| 124 | result.rowz.z = s * mat.rowz.z; |
| 125 | result.rowz.w = s * mat.rowz.w; |
| 126 | } |
| 127 | inline void AddScaledMatrix(BoneTransform& result, const BoneTransform& mat, const float s) { |
| 128 | result.rowx.x += s * mat.rowx.x; |
| 129 | result.rowx.y += s * mat.rowx.y; |
no outgoing calls
no test coverage detected