GLM Bool Vector 3 Precision (ext/vector_bool3_precision.hpp)

glChAoS.P · src/src/libs/glm/ext/vector_bool3_precision.hpp · cpp · BSD-2-Clause
files, lang:glsl, tag:vector, tag:precision

Defines 3-component boolean vectors with high and medium precision qualifiers for GLSL compatibility.

// Source: https://github.com/BrutPitt/glChAoS.P | License: BSD-2-Clause
// Provided via justclaw.it.com; keep this notice with the code.
/// @ref core
/// @file glm/ext/vector_bool3_precision.hpp

#pragma once
#include "../detail/type_vec3.hpp"

namespace glm
{
	/// @addtogroup core_vector_precision
	/// @{

	/// 3 components vector of high qualifier bool numbers.
	///
	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
	typedef vec<3, bool, highp>		highp_bvec3;

	/// 3 components vector of medium qualifier bool numbers.
	///
	/// @see <a href="http://www.opengl.org/regi

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key