libft now includes an extra compilation option that allows building a math extension pack. This math extension pack features vec3 (3x1 vectors) and mat44 (4x4 matrices) functions for multiple purposes.
For the math extension, I've been using matrix and vectors double-like typedefs. They both can be found under includes/libftmath.h
.
This extension only accepts 4x4 matrices for doubles, as C limit generalizing variables and can't therefore expand.
To compile using the math extension, do make math
Only two minor changes happened:
- Some functions were not documented, now that's fixed (even tho function names are self-descriptive, for coherence documentation was added).
ft_split
was the only function that used break through my entire 42 cursus. It was replaced.
Version 2.0! This version changes a lot of stuff, optimises previous functions and points to achieve huge improvements.
- Lists have been reworked
- Memory functions have crash check
- Lots and lots of other stuff and new functions
This is a simple library which imports some large extended functions made by myself. In fact, the objective of this project is to show evolution during the whole 42 cursus. Each function has, for this reason, a brief description of it purpose and what it returns.
This project was finished in under a week, and cannot be submitted again but it has suffered major changes. It got a 107/115 (list functions didn't work properly back then).