jeremyong / klein

P(R*_{3, 0, 1}) specialized SIMD Geometric Algebra Library
https://jeremyong.com/klein
MIT License
749 stars 57 forks source link

Fix plane::normalize w/o SSE4_1 #27

Closed devjobe closed 2 years ago

devjobe commented 2 years ago

Fixes #23 by using _mm_move_ss instead of _mm_add_ps

The bug occurs when KLEIN_SSE_4_1 is not defined.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

jessestricker commented 2 years ago

Ah thanks, I hope this gets merged soon.

jeremyong commented 2 years ago

Thanks!