Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Point2& Point2::operator +=(Vector2 const &rhs) {
- #if ARM_NEON
- *(float32x2_t*)this = vadd_f32(*(float32x2_t*)this, *(float32x2_t*)&rhs);
- return *this;
- #else
- return *this = *this + rhs;
- #endif
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement