Sha256: 8bfec32ad38bd44e378534f062fc3c1002245e10e3055d164e6e91074388e525

Contents?: true

Size: 894 Bytes

Versions: 21

Compression:

Stored size: 894 Bytes

Contents

/// @ref gtx_perpendicular
/// @file glm/gtx/perpendicular.hpp
///
/// @see core (dependence)
/// @see gtx_projection (dependence)
///
/// @defgroup gtx_perpendicular GLM_GTX_perpendicular
/// @ingroup gtx
///
/// @brief Perpendicular of a vector from other one
///
/// <glm/gtx/perpendicular.hpp> need to be included to use these functionalities.

#pragma once

// Dependency:
#include "../glm.hpp"
#include "../gtx/projection.hpp"

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

namespace glm
{
	/// @addtogroup gtx_perpendicular
	/// @{

	//! Projects x a perpendicular axis of Normal.
	//! From GLM_GTX_perpendicular extension.
	template <typename vecType> 
	GLM_FUNC_DECL vecType perp(
		vecType const & x, 
		vecType const & Normal);

	/// @}
}//namespace glm

#include "perpendicular.inl"

Version data entries

21 entries across 21 versions & 1 rubygems

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