dynamomobile / ball-demo

Small Quaternion demo in Xcode for iOS with SceneKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

Small Quaternion demo in Xcode for iOS with SceneKit


Languages

Language:C 73.9%Language:Objective-C 21.7%Language:C++ 4.4%