H-uru / Plasma

Cyan Worlds's Plasma game engine
http://h-uru.github.io/Plasma/
GNU General Public License v3.0
205 stars 80 forks source link

Minor tweaks to hsMatrix44 Accelerate.framework support #1434

Closed dpogue closed 1 year ago

dpogue commented 1 year ago
  1. This is a C++ file, and Accelerate is a C library, so we should use #include instead of #import.

  2. Somewhere around Mac OS X 10.10, some parameters to vDSP_mmul were changed from float* to const float*. But earlier versions complain if you try to pass them const float* values, so just cast to float*.

Tested and successfully compiled on Mac OS X 10.5 PowerPC 😛

colincornaby commented 1 year ago

Tested and successfully compiled on Mac OS X 10.5 PowerPC 😛

You're a monster! 😆