Sha256: 157403883170f70a77e81c14599d620f9781311cc2143930f1c1059495fc5966

Contents?: true

Size: 1.14 KB

Versions: 21

Compression:

Stored size: 1.14 KB

Contents

/// @ref gtx_matrix_decompose
/// @file glm/gtx/matrix_decompose.hpp
///
/// @see core (dependence)
///
/// @defgroup gtx_matrix_decompose GLM_GTX_matrix_decompose
/// @ingroup gtx
///
/// @brief Decomposes a model matrix to translations, rotation and scale components
///
/// <glm/gtx/matrix_decompose.hpp> need to be included to use these functionalities.

#pragma once

// Dependencies
#include "../mat4x4.hpp"
#include "../vec3.hpp"
#include "../vec4.hpp"
#include "../geometric.hpp"
#include "../gtc/quaternion.hpp"
#include "../gtc/matrix_transform.hpp"

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
#	pragma message("GLM: GLM_GTX_matrix_decompose extension included")
#endif

namespace glm
{
	/// @addtogroup gtx_matrix_decompose
	/// @{

	/// Decomposes a model matrix to translations, rotation and scale components 
	/// @see gtx_matrix_decompose
	template <typename T, precision P>
	GLM_FUNC_DECL bool decompose(
		tmat4x4<T, P> const & modelMatrix,
		tvec3<T, P> & scale, tquat<T, P> & orientation, tvec3<T, P> & translation, tvec3<T, P> & skew, tvec4<T, P> & perspective);

	/// @}
}//namespace glm

#include "matrix_decompose.inl"

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.4.5 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.4.4 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.4.3 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.4.2 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.4.1 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.4.0 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.3.2 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.3.1 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.3.0 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.2.6 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.2.5 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.2.4 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.2.3 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.2.2 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.2.1 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.2.0 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.1.4 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.1.3 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.1.2 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp
pixo-0.1.1 ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp