Interpolation methods referred in ::Oyster::Math & Math3D
This commit is contained in:
parent
408d51e46b
commit
9a2d2b9490
|
@ -45,6 +45,9 @@ namespace Oyster { namespace Math //! Oyster's native math library
|
|||
//! Creates a solution matrix for 'out´= 'targetMem' * 'in'.
|
||||
//! Returns false if there is no explicit solution.
|
||||
bool SuperpositionMatrix( const Float4x4 &in, const Float4x4 &out, Float4x4 &targetMem );
|
||||
|
||||
using ::LinearAlgebra::Lerp;
|
||||
using ::LinearAlgebra::Nlerp;
|
||||
} }
|
||||
|
||||
inline ::Oyster::Math::Float2 & operator *= ( ::Oyster::Math::Float2 &left, const ::Oyster::Math::Float2 &right )
|
||||
|
@ -328,6 +331,9 @@ namespace Oyster { namespace Math3D //! Oyster's native math library specialized
|
|||
//! Helper inline function that sets and then returns targetMem = transformer * transformee
|
||||
inline Float4 & TransformVector( const Float4x4 &transformer, const Float4 &transformee, Float4 &targetMem = Float4() )
|
||||
{ return targetMem = transformer * transformee; }
|
||||
|
||||
using ::LinearAlgebra3D::SnapAxisYToNormal_UsingNlerp;
|
||||
using ::LinearAlgebra3D::InterpolateAxisYToNormal_UsingNlerp;
|
||||
} }
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue