Pass by reference, not value
parent
f95f7c03ce
commit
b20023ed3d
|
@ -457,7 +457,7 @@ struct Interpolator <aiVectorKey> {
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct Interpolator <aiQuatKey> {
|
struct Interpolator <aiQuatKey> {
|
||||||
void operator () (aiQuaternion& out, const aiQuatKey a,
|
void operator () (aiQuaternion& out, const aiQuatKey& a,
|
||||||
const aiQuatKey& b, float d) const
|
const aiQuatKey& b, float d) const
|
||||||
{
|
{
|
||||||
Interpolator<aiQuaternion> ipl;
|
Interpolator<aiQuaternion> ipl;
|
||||||
|
@ -467,7 +467,7 @@ struct Interpolator <aiQuatKey> {
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct Interpolator <aiMeshKey> {
|
struct Interpolator <aiMeshKey> {
|
||||||
void operator () (unsigned int& out, const aiMeshKey a,
|
void operator () (unsigned int& out, const aiMeshKey& a,
|
||||||
const aiMeshKey& b, float d) const
|
const aiMeshKey& b, float d) const
|
||||||
{
|
{
|
||||||
Interpolator<unsigned int> ipl;
|
Interpolator<unsigned int> ipl;
|
||||||
|
|
Loading…
Reference in New Issue