memononen / libtess2

Game and tools oriented refactored version of GLU tesselator.
Other
465 stars 98 forks source link

Remove conversion warning (double to TESSreal). #25

Closed nealkruis closed 6 years ago

memononen commented 6 years ago

This should work both with doubles and floats, so I think the only solution is to use something ugly like: (TESSreal)0.01 on constants. Would you mind updating the PR?

memononen commented 6 years ago

Thanks for the quick update! The same code got changed while I was working on some other bugs, so I'll close the PR for now as the changes are not relevant anymore.

If you find other cases (I bet there are some) and fix them, I'd be glad to merge the PR.