upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/host_cpu.cpp
diff options
context:
space:
mode:
authorVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 17:36:49 +0100
committerVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 17:36:49 +0100
commit39e0b14964d2912e4b635b108afb39d60ea39a78 (patch)
tree9b4a0d504fdfadb1d13f169f0d12b3c8f8a60c2c /runtime/src/host_cpu.cpp
parent4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff)
fix(tools): preserve finite OBJ normal directions
Squaring finite components could turn a valid normal into the fallback direction. Normalize with a stable length and rescale only when the length cannot preserve the direction.
Diffstat (limited to 'runtime/src/host_cpu.cpp')
0 files changed, 0 insertions, 0 deletions