• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C to Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C to Objective-C


  • Subject: Re: C to Objective-C
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 4 Oct 2002 18:18:25 +0200

On Friday, October 4, 2002, at 05:17 , Clark S. Cox III wrote:

void vertices(float xVert[], float yVert[], int TOTAL)
{
int i;
for(i=0; i < TOTAL; i++) {
glTranslatef(xVert[i], yVert[i], 0.0);
...
Or, even better:

- - (void)verticesX:(const float*)xVert Y:(const float*)yVert T:(size_t)TOTAL;

You sure? I don't know what and how glTranslate does, but it looks very like it wants to *change* them.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: C to Objective-C
      • From: "Clark S. Cox III" <email@hidden>
References: 
 >Re: C to Objective-C (From: "Clark S. Cox III" <email@hidden>)

  • Prev by Date: Get access to MyDocument
  • Next by Date: Re: C to Objective-C
  • Previous by thread: Re: C to Objective-C
  • Next by thread: Re: C to Objective-C
  • Index(es):
    • Date
    • Thread