Skip navigation.
 
mlRe: C to Objective-C
FROM : Ondra Cada
DATE : Fri Oct 04 18:18:25 2002

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_removed>              http://www.ocs.cz
private        <email_removed>            http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlC to Objective-C Jon Oct 4, 16:56
mlRe: C to Objective-C Thomas Castiglione Oct 4, 17:13
mlRe: C to Objective-C Clark S. Cox III Oct 4, 17:17
mlRe: C to Objective-C Ryan Stevens Oct 4, 17:29
mlRe: C to Objective-C Ondra Cada Oct 4, 17:56
mlRe: C to Objective-C Ondra Cada Oct 4, 18:18
mlRe: C to Objective-C Clark S. Cox III Oct 4, 18:37
mlRe: C to Objective-C Manfred Lippert Oct 4, 19:44
mlRe: C to Objective-C Brent Gulanowski Oct 4, 20:22
mlRe: C to Objective-C Clark S. Cox III Oct 4, 20:27
mlRe: C to Objective-C Jon Oct 8, 20:01