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.
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 mails | Author | Date |
|---|---|---|
| Jon | Oct 4, 16:56 | |
| Thomas Castiglione | Oct 4, 17:13 | |
| Clark S. Cox III | Oct 4, 17:17 | |
| Ryan Stevens | Oct 4, 17:29 | |
| Ondra Cada | Oct 4, 17:56 | |
| Ondra Cada | Oct 4, 18:18 | |
| Clark S. Cox III | Oct 4, 18:37 | |
| Manfred Lippert | Oct 4, 19:44 | |
| Brent Gulanowski | Oct 4, 20:22 | |
| Clark S. Cox III | Oct 4, 20:27 | |
| Jon | Oct 8, 20:01 |






Cocoa mail archive

