[PD] In search for Perlin Noise and seomthing to round numbers.
Mathieu Bouchard
matju at artengine.ca
Wed Oct 25 05:33:45 CEST 2006
On Tue, 24 Oct 2006, Claude Heiland-Allen wrote:
> [expr floor($f1,0)]
> [expr ceil($f1,0)]
> Which reminds me to ask, does anyone know why expr's floor and ceil
> require two arguments,
Because of a typo that Orm Finnendahl made in 2002.
> and would it make sense to allow floor and ceil to work with a single
> argument only?
Yes, but it wouldn't be backwards-compatible, unless [expr] allows
optional arguments, but there's no way to specify that in [expr]'s
function table.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada
More information about the Pd-list
mailing list