gnu3dkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu3dkit-dev] Re: g3dbezier isEqualToBezier:


From: Philippe C . D . Robert
Subject: Re: [Gnu3dkit-dev] Re: g3dbezier isEqualToBezier:
Date: Sat, 19 Oct 2002 02:23:11 +0200

Hi,

this would be cool - I'd suggest you use the size of the arrays though and loop over the elements this way since you have to check for identical size anyway, plus you avoid an object allocation which is expensive.

-Phil

On Saturday, October 19, 2002, at 01:26  Uhr, Brent Gulanowski wrote:


On Wednesday, October 16, 2002, at 01:19 PM, Philippe C.D. Robert wrote:

I assume it does take the wrong one (isEqual:) and thus fails when you change a controlpoint... But on the other hand I don't want to override isEqual: on the vector/tuple. So I think we should fix G3DBezier's implementation directly.

Anyone?

This weekend I could put something together. I can get an enumerator on the arrays and just check each control point that way, calling isEqualToTuple3f on each pair.

--
Brent Gulanowski                                address@hidden

I bought some batteries... but they weren't included... so I had to buy them again. - Stephen Wright


--
Brent Gulanowski                                address@hidden

Ce n'est pas une signature.     -Magritte



_______________________________________________
Gnu3dkit-dev mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/gnu3dkit-dev


--
Philippe C.D. Robert
http://www.nice.ch/~phip





reply via email to

[Prev in Thread] Current Thread [Next in Thread]