Havok Sdk - 2010 2.0-r1 [portable]

: Setting up a project required specific preprocessor definitions like HK_CONFIG_SIMD=2 to ensure the engine utilized hardware-accelerated math instructions correctly.

// Initialize the memory system (THE DREADED PART) hkMemoryRouter* memoryRouter = hkMemoryInitUtil::initDefault( hkMallocAllocator::m_defaultMallocAllocator, hkMemorySystem::FrameInfo(1024 * 1024) ); hkBaseSystem::init(memoryRouter, errorReport); havok sdk 2010 2.0-r1

Back
Top