Our great sponsors
-
LearnOpenGL
Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm following along the tutorial on learnopengl.com and I've hit a bug with my transform matrix for rotation. It works just fine if I only rotate along a single axis with a value of 1.0 but if I try to rotate multiple axis at once or use fractional values, the cube gets all distorted.
https://github.com/Defalt8/axl.math use this library or find the code you need in this file https://github.com/Defalt8/axl.math/blob/main/src/mat/transform4.cpp