Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-02-2009, 06:59 PM   #39 (permalink)
mauriceatron
Tutorial Author
 
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 29
mauriceatron is on a distinguished road
Default

Quote:
Originally Posted by Steffan View Post
Thanks for writing these tutorials! They've been my first ever introduction to Open GL ES.

In the last tutorial, how are these equations used for drawing a circle? I understand that sin = O/A and cos = A/H.

newX = eyeX + radius * cos(TURN_SPEED)*deltaX -
sin(TURN_SPEED)*deltaZ

newZ = eyeZ + radius * sin(TURN_SPEED)* deltaX +
cos(TURN_SPEED)*deltaZ
Hi Steffan,

Yes, I tried to sneak that one past everyone...

Im writing a follow up to that at the moment and will have that posted later on today to explain everything in more detail, as well as covering some other things.

Hooroo
Simon
mauriceatron is offline   Reply With Quote
 

» Advertisements
» Online Users: 485
19 members and 466 guests
7twenty7, apatsufas, AppsBlogger, Art, buggen, chenpo, ChrisYates, GHuebner, greeneye82, iOS.Lover, jbro, Kirkout, mediaspree, omerkarakaya, PavelMik, samdanielblr, swelsh, taylor202, TheStalker
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,636
Threads: 94,101
Posts: 402,809
Top Poster: BrianSlick (7,990)
Welcome to our newest member, samdanielblr
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:02 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.