BSD Ports

math/glm 1.0.2,1 MidnightBSD

C++ mathematics library for software based on the OpenGL GLSL

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
math, graphics

Description

OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification.

GLM provides classes and functions designed and implemented with the same naming conventions and functionalities than GLSL so that when a programmer knows GLSL, he knows GLM as well which makes it really easy to use.

This project isn't limited to GLSL features. An extension system, based on the GLSL extension conventions, provides extended capabilities: matrix transformations, quaternions, half-based types, random numbers, procedural noise functions, etc...

This library works perfectly with OpenGL but it also ensures interoperability with third party libraries and SDKs. It is a good candidate for software rendering (Raytracing / Rasterisation), image processing, physic simulations and any context that requires a simple and convenient mathematics library.

In the other systems

SystemPortVersion
MidnightBSDmath/glm1.0.2,1
FreeBSDmath/glm1.0.3,1
OpenBSDgraphics/glm1.0.2
NetBSDgraphics/glm1.0.3nb1
DragonFlymath/glm1.0.1,1

Install

Binary package:

mport install glm

From mports:

cd /usr/mports/math/glm && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	glm>0:math/glm

Dependencies

Configuration

Options name: math_glm

OptionDefaultDescription
DOCSoff
TESToff
USES
cmake compiler:c++11-lang pkgconfig
Service scripts
none

Files

pkg-plist 434
  • include/glm/common.hpp
  • include/glm/detail/_features.hpp
  • include/glm/detail/_fixes.hpp
  • include/glm/detail/_noise.hpp
  • include/glm/detail/_swizzle.hpp
  • include/glm/detail/_swizzle_func.hpp
  • include/glm/detail/_vectorize.hpp
  • include/glm/detail/compute_common.hpp
  • include/glm/detail/compute_vector_decl.hpp
  • include/glm/detail/compute_vector_relational.hpp
  • include/glm/detail/func_common.inl
  • include/glm/detail/func_common_simd.inl
  • include/glm/detail/func_exponential.inl
  • include/glm/detail/func_exponential_simd.inl
  • include/glm/detail/func_geometric.inl
  • include/glm/detail/func_geometric_simd.inl
  • include/glm/detail/func_integer.inl
  • include/glm/detail/func_integer_simd.inl
  • include/glm/detail/func_matrix.inl
  • include/glm/detail/func_matrix_simd.inl
  • include/glm/detail/func_packing.inl
  • include/glm/detail/func_packing_simd.inl
  • include/glm/detail/func_trigonometric.inl
  • include/glm/detail/func_trigonometric_simd.inl
  • include/glm/detail/func_vector_relational.inl
  • include/glm/detail/func_vector_relational_simd.inl
  • include/glm/detail/glm.cpp
  • include/glm/detail/qualifier.hpp
  • include/glm/detail/setup.hpp
  • include/glm/detail/type_float.hpp
  • include/glm/detail/type_half.hpp
  • include/glm/detail/type_half.inl
  • include/glm/detail/type_mat2x2.hpp
  • include/glm/detail/type_mat2x2.inl
  • include/glm/detail/type_mat2x3.hpp
  • include/glm/detail/type_mat2x3.inl
  • include/glm/detail/type_mat2x4.hpp
  • include/glm/detail/type_mat2x4.inl
  • include/glm/detail/type_mat3x2.hpp
  • include/glm/detail/type_mat3x2.inl
  • include/glm/detail/type_mat3x3.hpp
  • include/glm/detail/type_mat3x3.inl
  • include/glm/detail/type_mat3x4.hpp
  • include/glm/detail/type_mat3x4.inl
  • include/glm/detail/type_mat4x2.hpp
  • include/glm/detail/type_mat4x2.inl
  • include/glm/detail/type_mat4x3.hpp
  • include/glm/detail/type_mat4x3.inl
  • include/glm/detail/type_mat4x4.hpp
  • include/glm/detail/type_mat4x4.inl
  • include/glm/detail/type_mat4x4_simd.inl
  • include/glm/detail/type_quat.hpp
  • include/glm/detail/type_quat.inl
  • include/glm/detail/type_quat_simd.inl
  • include/glm/detail/type_vec1.hpp
  • include/glm/detail/type_vec1.inl
  • include/glm/detail/type_vec2.hpp
  • include/glm/detail/type_vec2.inl
  • include/glm/detail/type_vec3.hpp
  • include/glm/detail/type_vec3.inl
  • include/glm/detail/type_vec4.hpp
  • include/glm/detail/type_vec4.inl
  • include/glm/detail/type_vec_simd.inl
  • include/glm/exponential.hpp
  • include/glm/ext.hpp
  • include/glm/ext/_matrix_vectorize.hpp
  • include/glm/ext/matrix_clip_space.hpp
  • include/glm/ext/matrix_clip_space.inl
  • include/glm/ext/matrix_common.hpp
  • include/glm/ext/matrix_common.inl
  • include/glm/ext/matrix_double2x2.hpp
  • include/glm/ext/matrix_double2x2_precision.hpp
  • include/glm/ext/matrix_double2x3.hpp
  • include/glm/ext/matrix_double2x3_precision.hpp
  • include/glm/ext/matrix_double2x4.hpp
  • include/glm/ext/matrix_double2x4_precision.hpp
  • include/glm/ext/matrix_double3x2.hpp
  • include/glm/ext/matrix_double3x2_precision.hpp
  • include/glm/ext/matrix_double3x3.hpp
  • include/glm/ext/matrix_double3x3_precision.hpp
  • include/glm/ext/matrix_double3x4.hpp
  • include/glm/ext/matrix_double3x4_precision.hpp
  • include/glm/ext/matrix_double4x2.hpp
  • include/glm/ext/matrix_double4x2_precision.hpp
  • include/glm/ext/matrix_double4x3.hpp
  • include/glm/ext/matrix_double4x3_precision.hpp
  • include/glm/ext/matrix_double4x4.hpp
  • include/glm/ext/matrix_double4x4_precision.hpp
  • include/glm/ext/matrix_float2x2.hpp
  • include/glm/ext/matrix_float2x2_precision.hpp
  • include/glm/ext/matrix_float2x3.hpp
  • include/glm/ext/matrix_float2x3_precision.hpp
  • include/glm/ext/matrix_float2x4.hpp
  • include/glm/ext/matrix_float2x4_precision.hpp
  • include/glm/ext/matrix_float3x2.hpp
  • include/glm/ext/matrix_float3x2_precision.hpp
  • include/glm/ext/matrix_float3x3.hpp
  • include/glm/ext/matrix_float3x3_precision.hpp
  • include/glm/ext/matrix_float3x4.hpp
  • include/glm/ext/matrix_float3x4_precision.hpp

The first 100 are listed.

distinfo 1
FileSizeSHA256
g-truc-glm-1.0.2_GH0.tar.gz4.597309e+0619edf2e860297efab1c74950e6076bf4dad9de483826bc95e2e0f2c758a43f65