Matrix4: Fix GetColumn and GetRow code
This commit is contained in:
@@ -242,7 +242,7 @@ namespace Nz
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
T* ptr = (&m11) + column*4;
|
const T* ptr = (&m11) + column*4;
|
||||||
return Vector4<T>(ptr);
|
return Vector4<T>(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -636,7 +636,7 @@ namespace Nz
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
T* ptr = &m11;
|
const T* ptr = &m11;
|
||||||
return Vector4<T>(ptr[row], ptr[row+4], ptr[row+8], ptr[row+12]);
|
return Vector4<T>(ptr[row], ptr[row+4], ptr[row+8], ptr[row+12]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user