Sha256: eb695e010f45dcf2d245c3775cf735827a41495297a64170ca4c79c6bd53b6e1

Contents?: true

Size: 268 Bytes

Versions: 21

Compression:

Stored size: 268 Bytes

Contents

/// @ref gtx_projection
/// @file glm/gtx/projection.inl

namespace glm
{
	template <typename vecType>
	GLM_FUNC_QUALIFIER vecType proj(vecType const & x, vecType const & Normal)
	{
		return glm::dot(x, Normal) / glm::dot(Normal, Normal) * Normal;
	}
}//namespace glm

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.1.0 ext/pixo/ext/glm/glm/gtx/projection.inl