Linmath.h
a lean linear math library, aimed at graphics programming. Supports vec3, vec4, mat4x4 and quaternions
Install / Use
/learn @datenwolf/Linmath.hREADME
linmath.h -- A small library for linear math as required for computer graphics
linmath.h provides the most used types required for programming computer graphics:
vec3-- 3 element vector of floatsvec4-- 4 element vector of floats (4th component used for homogenous computations)mat4x4-- 4 by 4 elements matrix, computations are done in column major orderquat-- quaternion
The types are deliberately named like the types in GLSL. In fact they are meant to be used for the client side computations and passing to same typed GLSL uniforms.
Related Skills
openhue
346.8kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
346.8kElevenLabs text-to-speech with mac-style say UX.
weather
346.8kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.6kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
