math/glm 1.0.3,1 FreeBSD
C++ mathematics library for software based on the OpenGL GLSL
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- math, graphics
- Package size
- 206.8 KiB, 2200.0 KiB installed
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
| System | Port | Version |
|---|---|---|
| FreeBSD | math/glm | 1.0.3,1 |
| OpenBSD | graphics/glm | 1.0.2 |
| NetBSD | graphics/glm | 1.0.3nb1 |
| DragonFly | math/glm | 1.0.1,1 |
| MidnightBSD | math/glm | 1.0.2,1 |
Install
Binary package:
pkg install glm
From the ports tree:
cd /usr/ports/math/glm/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= glm>0:math/glm
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.3,1 | 1.0.3,1 | 0.9.9.8,1 | 1.0.1,1 | 1.0.3,1 |
| FreeBSD:14:quarterly | 1.0.3,1 | 1.0.3,1 | n/a | 1.0.1,1 | 1.0.3,1 |
| FreeBSD:15:latest | 1.0.3,1 | 1.0.3,1 | n/a | 1.0.1,1 | 1.0.1,1 |
| FreeBSD:15:quarterly | 1.0.3,1 | 1.0.3,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.3,1 | 1.0.3,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Required by 53
- astro/calcmysky
- audio/dpf-plugins-lv2
- benchmarks/vkmark
- cad/horizon-eda
- cad/kicad
- cad/kicad-devel
- cad/openscad
- cad/openscad-devel
- cad/openvsp
- devel/shadered
- devel/wf-config
- editors/imhex
- editors/libreoffice
- emulators/es-de
- emulators/flycast
- emulators/mame
- games/aquaria
- games/arx-libertatis
- games/irrlamb
- games/marblemarcher
- games/solarus
- games/solarus-quest-editor
- games/supertux2
- games/voadi
- graphics/cegui
- graphics/dilay
- graphics/glvis
- graphics/gource
- graphics/libetonyek01
- graphics/libgltf
- graphics/libprojectm
- graphics/magnum-integration
- graphics/maim
- math/asymptote
- math/curv
- multimedia/kodi-addon-visualization.fishbmc
- multimedia/kodi-addon-visualization.projectm
- multimedia/kodi-addon-visualization.shadertoy
- multimedia/kodi-addon-visualization.spectrum
- multimedia/qmmp-plugin-pack-qt5
- multimedia/qmmp-plugin-pack-qt6
- multimedia/qmmp-qt5
- multimedia/qmmp-qt6
- science/chrono
- science/py-pymol
- sysutils/logstalgia
- x11-wm/chamfer
- x11-wm/gamescope
- x11-wm/wayfire
- x11-wm/wayfire-plugins-extra
- x11/slop
- x11/wcm
- x11/wf-shell
Configuration
Options name: math_glm
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| TEST | off | Build and/or run tests |
- 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
| File | Size | SHA256 |
|---|---|---|
| g-truc-glm-1.0.3_GH0.tar.gz | 4.597748e+06 | 6775e47231a446fd086d660ecc18bcd076531cfedd912fbd66e576b118607001 |
Commit history 0
No commits in the history this site was built from.