ref #16
R does not have float type, but Processing heavily uses float as the built-in functions' parameters. To solve the problem, Processing.R defines a abstract layer called BuiltinApplet, which cast float to double explicitly by function overloading.
Function overloading requires a lot of manual work, so it is better to find a way to finish the job in language level, via renjin.
Maybe we could ask renjin community for help.
ref #16
R does not have
floattype, but Processing heavily uses float as the built-in functions' parameters. To solve the problem, Processing.R defines a abstract layer calledBuiltinApplet, which cast float to double explicitly by function overloading.Function overloading requires a lot of manual work, so it is better to find a way to finish the job in language level, via renjin.
Maybe we could ask renjin community for help.