Library for hardware accelerated 3D graphics