You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							302 B
						
					
					
				
			
		
		
	
	
							18 lines
						
					
					
						
							302 B
						
					
					
				#include <glm/gtx/matrix_decompose.hpp> | 
						|
 | 
						|
int main() | 
						|
{ | 
						|
	int Error(0); | 
						|
 | 
						|
	glm::mat4 Matrix(1); | 
						|
 | 
						|
	glm::vec3 Scale; | 
						|
	glm::quat Orientation; | 
						|
	glm::vec3 Translation; | 
						|
	glm::vec3 Skew(1); | 
						|
	glm::vec4 Perspective(1); | 
						|
 | 
						|
	glm::decompose(Matrix, Scale, Orientation, Translation, Skew, Perspective); | 
						|
 | 
						|
	return Error; | 
						|
}
 | 
						|
 |