initial commit
This commit is contained in:
		
							
								
								
									
										15
									
								
								lib/glm/gtx/perpendicular.inl
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								lib/glm/gtx/perpendicular.inl
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| /// @ref gtx_perpendicular | ||||
| /// @file glm/gtx/perpendicular.inl | ||||
|  | ||||
| namespace glm | ||||
| { | ||||
| 	template <typename vecType>  | ||||
| 	GLM_FUNC_QUALIFIER vecType perp | ||||
| 	( | ||||
| 		vecType const & x,  | ||||
| 		vecType const & Normal | ||||
| 	) | ||||
| 	{ | ||||
| 		return x - proj(x, Normal); | ||||
| 	} | ||||
| }//namespace glm | ||||
		Reference in New Issue
	
	Block a user
	 izenynn
					izenynn