[10 marks] Create an app that runs on an iOS device (you can assume at least iOS 12.0) with a single green cube shown in perspective projection.[10 marks] Modify the app so a double-tap toggles...







  1. [10 marks] Create an app that runs on an iOS device (you can assume at least iOS 12.0) with a single green cube shown in perspective projection.







  2. [10 marks] Modify the app so a double-tap toggles whether the cube continuously rotates about the y-axis.







  3. [10 marks] Modify the app so when the cube is not rotating the user can rotate the cube about two axes using the touch interface (single finger drag).







  4. [10 marks] Modify the app so when the cube is not rotating a “pinch” (two fingers moving closer or farther away from each other) zooms in and out of the cube.







  5. [10 marks] Modify the app so when the cube is not rotating dragging with two fingers moves the cube around.







  6. [10 marks] Add to the app a button that, when pressed, resets the cube to a default position of (0,0,0) with a default orientation.







  7. [10 marks] Add to the app a label that continuously reports the position (x,y,z) and rotation (3 angles) of the cube.






















The code must be written using only Objective-C or Swift and C++, and all files required to build and deploy the app must be provided.

Mar 12, 2023
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here