Skip to content

Vec arg min max - #335

Draft
jdahlstrom wants to merge 46 commits into
mainfrom
vec-arg-min-max
Draft

jdahlstrom wants to merge 46 commits into
mainfrom
vec-arg-min-max

Conversation

@jdahlstrom

Copy link
Copy Markdown
Owner

No description provided.

Gives an alterative way to construct a Batch,
no good reason to keep them private.
Moves a point towards another point by an offset without overshooting.
These are needed often enough that adding them manually is a pain.
Implements airplane-like control of the pitch (elevation), yaw (bearing),
and roll (bank) angles of the camera. These angles are also known to as
Tait–Bryan angles.
* Color::clamp(): like in Vec and Point
* VecN::normalize_or_zero(): don't panic, return zero
* MatN::origin(): return the translation vector as a point
* Batch::append(): append the geometry of a batch to another
* Tri::centroid(): return the center point of a triangle
Supports linear, radial, and conical gradients with arbitrary color maps.
The core module started getting really crowded.
Added a glob re-export to keep all existing paths valid.
Add proper unit tests for linear and translate/origin
@jdahlstrom
jdahlstrom marked this pull request as draft December 9, 2025 12:13
@jdahlstrom
jdahlstrom force-pushed the dev branch 2 times, most recently from 024a425 to cce0d4f Compare December 15, 2025 14:07
Base automatically changed from dev to master May 14, 2026 08:48

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant