TheCBProject / CodeChickenLib

GNU Lesser General Public License v2.1
110 stars 55 forks source link

[Feature Request] Add alternative to CCModel#generateBlock which uses absolute UVs instead of cuboid-relative UVs #431

Open KitsuneAlex opened 1 year ago

KitsuneAlex commented 1 year ago

I've been working on a CCL-based BlockBench model loader implementation yada yada.. and i've come to the conclusion that working with absolute UVs makes all my calculations a lot more simple and efficient.

The easiest way to provide said functionality would be to add a function to CCModel similar to generateBlock(), which just uses 0.0 for all its min-UVs and the cuboid size (max - min) for its max-UVs.