Java OpenGL Math Library (JOML)

True that, but the problem is finding the good stuff. In my experience the best teachers are the ones who recently learned what they’re teaching themselves, because they remember what was difficult to understand when they learned it. Pretty much all school text books are written by professors who are extremely good at their subjects, but they also have no connection at all anymore to the students that are using their books. It’s hilarious how all these books have “reviews” from other professors saying how it’s such a good book. Like, how the hell would you know? You already know all this stuff. You can just verify that the facts are correct, not that it’s a good book for learning that stuff. Plus the obvious risk of buddy reviews between professors.

You probably already figured out this much, but this is my favorite primer regarding matrices in programming: https://www.sjbaker.org/steve/omniv/matrices_can_be_your_friends.html

LA is meta. I found thinking of it in it’s original context the easiest to understand…specifically a system of equations. So a 3x3 rotation matrix is a set of 3 equations: how each of x,y & z map to a new values in a different coordinate frame. Moving to 4x3 or 4x4 simply allows adding new terms to each equation formed by a matrix product. Of course LA has it’s own structure and properties which can give you additional insight into the equations in question that individually may not be obvious. Likewise for looking at the same problem in language of some other area of mathematics. So it goes.

I like the bottom portion, but they don’t really explain it well enough to grasp imo. Although, I know matrices enough now.

The TypeScript/JavaScript variant JOML.js now has a first build system working under Travis, which compiles the TypeScript files to a single joml.js under target/.
That JavaScript file can readily be used in your JavaScript/WebGL project. See the GitHub README.md on how to use it.
If you happen to use TypeScript, then please instead use the provided *.ts files under src/ to also have typesafety and auto-suggest. You only need to reference the single joml.ts file, which itself references all other files.

Btw. what do people use these days to build JavaScript projects? —> Make? :smiley:
Well… I did.

To build yourself you only need Make, nodejs and typescript installed (via npm install -g typescript).
Windows users: Building works under GnuWin32 make, mingw32-make, MSys make, as well as under Cygwin.

EDIT: Actually, you don’t even need Make now, since you can just invoke “tsc” without any arguments since now a tsconfig.json is present.

Good job.

Ewww JavaScript :stuck_out_tongue:
Lua master race!