Re: C to Objective-C
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.