Commit graph

30 commits

Author SHA1 Message Date
5f97d3a881 docs(math): added more documentation for bezier, matrix, noise, point, polynomial, quaternion and vector 2025-08-14 09:27:07 +02:00
ae9918c9b9 refactor(math): moved the common permutation function outside the impls 2025-08-03 02:06:50 +02:00
b290f98b11 refactor(math): moved the determinant implementation to the LinearTransformation trait 2025-07-29 15:45:54 +02:00
92055d62a5 feat(math): added a few more interpolation functions 2025-07-29 15:45:01 +02:00
05764965b3 perf(math): added inline attribute to easing functions 2025-07-29 15:44:37 +02:00
cd58c0ee06 feat(math): added acceleration, curvature and arclength to the members of the Bezier curve. Split tangent and velocity functions. 2025-07-27 02:49:39 +02:00
05a4679f38 feat(math): added to_point method into the InnerSpace trait and added tangent evaluation to the Bezier curve struct (changed point to vecs inside the struct as well) 2025-07-26 01:14:47 +02:00
5d959c54b5 fix: changed the powf function that had integer values as parameter to powi 2025-04-29 13:37:43 +02:00
fd8cf1f278 chore: renamed the structs Vec2, Vec3, Vec4, Mat2, Mat3, Mat4, Point2, Point3 to v2, v3, v4, m2, m3, m4, p2, p3 2025-04-17 00:54:09 +02:00
982323f671 chore: added the chrono crate back to the Cargo.toml of the crates 2025-04-15 20:31:33 +02:00
0296ef19a9 chore: cleaned Cargo.toml for almost every crate 2025-04-12 23:18:00 +02:00
68f20d2094 fix: changed the WhiteNoise struct, so that one can create a noise texture on the fly and a noise generator for more than one time usages 2025-04-01 01:13:58 +02:00
82bb18e25c fix: imported PI directly into easings.rs 2025-03-31 21:00:07 +02:00
5d7fec6f96 feat: added a simple Polynomial struct 2025-03-31 20:59:08 +02:00
87a7a13211 feat: added interpolation.rs for different kinds of interpolations 2025-03-31 20:58:25 +02:00
d0e9a1b456 feat: added a Bezier struct for a general bezier curve implementation 2025-03-31 00:02:56 +02:00
30afffdf32 fix: dependency issue in vector.rs because of the deleted utilities.rs 2025-03-30 15:03:43 +02:00
edcebb3c32 fix: removed utilities.rs in the last commit and removed its dependency in easings.rs 2025-03-30 14:58:06 +02:00
13fd31f632 feat: added a from_vec function to every color that it can be constructed with a Vec4 to easily interpolate colors 2025-03-30 14:54:28 +02:00
f891de2909 feat: added to_vec to the Color trait to allow the colors to be lerped and produce gradients 2025-03-30 00:06:33 +01:00
531609e95b feat: added more vector functions to the InnerSpace trait 2025-03-29 23:47:27 +01:00
f7d29f49d5 fix: made the swizzle functions macro generated 2025-03-29 21:34:55 +01:00
1558a9896c feat: added some operations to vectors and quaternions 2025-03-29 00:11:43 +01:00
4e9e296ba4 fix: completely annihilated matrix and rewrote it with a good orthographic projection matrix finally 2025-03-10 01:39:00 +01:00
4ce24b58dd feat: added the beginnings of a ecs based camera system. render_scene_2d crashes miserably right now but theoretically everything *should* be in place for a full adoption 2025-02-26 23:53:52 +01:00
2654a9fdc9 fix: some things are outdated for some reason... 2025-01-01 06:21:32 +01:00
2736d97d03 feat: Added shader loading and swapping as well as beginnings of out of the box noise generation and support for multiple render passes 2024-12-17 01:36:34 +01:00
5a9f632e3a feat: added a camera with orthographic projection and did some work restructuring the comet_app to make the setup system optional. Input handling is moved to the app 2024-11-13 03:33:02 +01:00
780365aeb8 feat: added 2D scene rendering and initialization of the texture atlas 2024-10-28 15:17:59 +01:00
6154c72b0e initial commit 2024-10-26 02:15:26 +02:00