[tuhopuu-devel] Re: [tuhopuu-cvs] CVS commit: tuhopuu3/source/blender/src editscreen.c

joeedh joeeagar at prodigy.net
Thu Feb 17 09:15:49 CET 2005


joeedh wrote:

> Chris Want wrote:
>
>> LECOCQ Guillaume wrote:
>>
>>>
>>> Hello, yes I know this is perhaps useless because you can choose by
>>> border but this is my first thing in C, and I'm happy it works. If
>>> anyone can find this usefull, why not?
>>
>>
>>
>> Hey, no prob... I think you had a great idea for improving
>> Jiri's work, and I just suggested an alternative way.
>> Attached is a patch that does it the way I suggested so that
>> folks can give it a try (i.e., changes horizontal/vertical
>> depending on which border is closest).
>>
>> Regards,
>> Chris
>
>
> There's a function called PDist[something] in arithb.c, you may want 
> to look at it.
>
> joeedh
> _______________________________________________
> tuhopuu-devel mailing list
> tuhopuu-devel at projects.blender.org
> http://projects.blender.org/mailman/listinfo/tuhopuu-devel
>
PdistVL2Dfl, takes three two-element float arrays as arguments; a point, 
and two points defining a 2D line.  It's used for non-backbuffered edge 
selection.

joeedh


More information about the tuhopuu-devel mailing list