GLM Double Matrix 2x2 Header (ext/matrix_double2x2.hpp)

glChAoS.P · src/src/libs/glm/ext/matrix_double2x2.hpp · cpp · BSD-2-Clause
ui, dev-tools, lang:cpp, tag:glm, tag:math, tag:opengl

Defines 2x2 double-precision floating-point matrix types for OpenGL Mathematics (GLM). Reuse for graphics calculations requiring high-precision 2D matrices.

// 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/matrix_double2x2.hpp

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

namespace glm
{
	/// @addtogroup core_matrix
	/// @{

	/// 2 columns of 2 components matrix of double-precision floating-point numbers.
	///
	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
	typedef mat<2, 2, double, defaultp>		dmat2x2;

	/// 2 columns of 2 components matrix of double-precision floating-point numbers.
	///
	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
	typedef mat<2, 2

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

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

Get a free API key