i try to get the hsb values from ofColor.
it works fine for single values like "print(color:getHue());"
but if i have more than 2 arguments like "print(color:getHsb(2.0, 4, 5.0));" I get the error message: "expected 'float &' got 'number'."
perhaps it is because the floats that are not the first and the last argument and end with .0 become integers? just a guess.
I think because of that it is not possible to use :getHsb at the moment?
-
ofelia: expected 'float &' got 'number'
-
@lamviec4 Hi, the same question was asked in the past. Please check the post below:
https://forum.pdpatchrepo.info/topic/12181/ofelia-expected-float-got-number/2
-
@cuinjune Yes, word for word exactly the same question.
Seems to have joined quite a few forums in the last 24 hours as "lamviec4" and then posted copied content.
It has something to do with SEO and creating backlinks to increase ranking.
Its not the first time we have seen such activity.
Should probably be "removed" as a user.
David.