/ball-demo

Small Quaternion demo in Xcode for iOS with SceneKit

Primary LanguageC

ball-demo

This is a small demo project aiming at showing a simple usage of Quaternions.

It shows a billiard ball that rolls over a table where the rotations are calculated with quaternions.

See - (void)renderer:updateAtTime: in GameViewController.m where all the math is.

Have fun!