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 09-21-2008, 05:59 PM   #3 (permalink)
Norbert
New Member
 
Join Date: Jul 2008
Posts: 37
Norbert is on a distinguished road
Default

I think you have to save the current transformation matrix (CTM) (glPushMatrix?), load the identity matrix, translate your object into the origin, rotate it, translate it back into its original position and restore the CTM (glPopMatrix?).
Norbert is offline   Reply With Quote
 

» Advertisements
» Online Users: 352
12 members and 340 guests
Domele, Duncan C, Farfalo, hacker073, ilmman, krisk, mongmo, n00b, Newbie123, Sami Gh, SillyHoney, SuperDietGenius
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,560
Threads: 94,079
Posts: 402,743
Top Poster: BrianSlick (7,990)
Welcome to our newest member, mongmo
Powered by vBadvanced CMPS v3.1.0

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