rezaali / ofxUI

[DEPRECATED] UI Addon for openFrameworks
http://www.syedrezaali.com/#/ofxui-project-showcase/
518 stars 202 forks source link

Added a float cast - float(max - min) - to fix the following error "'fab... #180

Closed smallfly closed 10 years ago

smallfly commented 10 years ago

...s' : ambiguous call to overloaded function when using templates".

Hi,

I had to do this in order to compile a project on Windows. I'm new to OF dev under Windows, so this fix is maybe unnecessary.

Let me know,

Hugues.

MartinBspheroid commented 10 years ago

Aha! I had same issue. I "repaired" that by using abs instead of fabs. Your solution makes more sense actually :) :+1:

smallfly commented 10 years ago

I just created a new pull request #181 to fix this in a better way.