[Bf-committers] distance along line scalar - labda or lambda?

Daniel Genrich daniel.genrich at gmx.net
Tue Dec 11 00:24:00 CET 2012


lambda.

That's the name of a greek character: http://en.wikipedia.org/wiki/Lambda
Often used by math geeks/at university.


Am 11.12.2012 00:15, schrieb Campbell Barton:
> Theres an inconsistency I noticed yesterday maybe someone here knows
> whats going on...
>
> We have many functions that get a float value that represents one
> points position between 2 others.
>
> ./source/blender/blenlib/intern/math_geom.c
>   dist_squared_to_line_segment_v2() - uses `labda`
>   closest_to_line_v2() - uses `lambda`
>
> ./source/blender/blenkernel/intern/curve.c
>   cu_isectLL()  - uses `labda`
> ./source/blender/blenkernel/intern/dynamicpaint.c
>   dynamicPaint_findNeighbourPixel() - uses `lambda`
>
> In the context of point-along-segment-scalar, anyone know which ones
> correct? (or at least a convention).
>
> It looks like lambda term was added later and a typo of labda, but I
> can't find anything online which mentions labda being used in this
> context.
>



More information about the Bf-committers mailing list