mckay
31daca7cf2
style: add comments and tests
3 weeks ago
mckay
c139aadb9c
fix: replace local_to_world matrix usage with fetch_aabb in mark_primitive_boundings
1 month ago
mckay
df7f80a350
fix: refactor translation handling in apply_transform to use Eigen::Translation3d
1 month ago
mckay
3a97488f8e
Revert "fix: Make get_identity_local_to_world virtual to support primitives with multiple subfaces (e.g., cylinder)."
This reverts commit f0e2d2b204
.
1 month ago
mckay
f0e2d2b204
fix: Make get_identity_local_to_world virtual to support primitives with multiple subfaces (e.g., cylinder).
Note: Cylinder's side surface defines its AABB, and z-axis scaling does not affect its radius.
Degeneracy checks only consider x/y directions (first two rows of the transform matrix), since z scaling does not change the essential geometry.
TODO: Consider redefining cylinder so the identity transform is always the first subface.
2 months ago
mckay
2c5729946b
Revert "fix: enhance logging in apply_transform for scale and translation operations"
This reverts commit 82ade709c7
.
2 months ago
mckay
82ade709c7
fix: enhance logging in apply_transform for scale and translation operations
2 months ago
Zhicheng Wang
1c8095fd29
fix error of transforming cylinder
2 months ago
mckay
8065849bb2
fix: update logic in judge_sign_by_subface_sign to use bitwise OR for combining signs
2 months ago
Zhicheng Wang
10f309c996
fix logical error of cylinder's plane
2 months ago
mckay
805c82903f
fix: update logic in judge_sign_by_subface_sign to use bitwise OR for combining signs
2 months ago
Zhicheng Wang
e7e7ce799a
first available version of v2
5 months ago
Zhicheng Wang
20edb662a9
fully implemented refactoring
now it can pass compile successfully
10 months ago
Zhicheng Wang
03bcdcb654
refactor the primitive_process
10 months ago
Zhicheng Wang
19f2725720
optimized evaluation function of extrudes
10 months ago