8000 updated linalg docs by elalish · Pull Request #1020 · elalish/manifold · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

updated linalg docs #1020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

8000 Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 4, 2024
Merged

updated linalg docs #1020

merged 2 commits into from
Nov 4, 2024

Conversation

elalish
Copy link
Owner
@elalish elalish commented Nov 4, 2024

All I've done is categorize them so they show up in a reasonably organized way in Doxygen. I should document more of them individually too, but I think this'll do for v3.0.

@elalish elalish self-assigned this Nov 4, 2024
constexpr double smoothstep(double edge0, double edge1, double a) {
const double x = la::clamp((a - edge0) / (edge1 - edge0), 0, 1);
return x * x * (3 - 2 * x);
}

constexpr mat3x4 Identity3x4() { return mat3x4(mat3(la::identity), vec3(0.0)); }
constexpr mat2x3 Identity2x3() { return mat2x3(mat2(la::identity), vec2(0.0)); }
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to get rid of these and expand the linalg identity concept instead.

@elalish elalish merged commit 8e9bdb2 into master Nov 4, 2024
19 checks passed
@elalish elalish deleted the improveDocs branch November 4, 2024 08:04
@elalish elalish mentioned this pull request Nov 5, 2024
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
0