JOML-CI / JOML

A Java math library for OpenGL rendering calculations
MIT License
715 stars 102 forks source link

Reorganize files, complete Kotlin extensions #323

Closed Peanuuutz closed 1 year ago

Peanuuutz commented 1 year ago

Also fixed some bugs, see changes in those java files.

I'm thinking about splitting kotlin extensions to an individual artifact, because they're too large.

httpdigest commented 1 year ago

Thanks a lot for your work!

tmvkrpxl0 commented 1 year ago

Speaking of which, should there be iterator support?

for(element in vector4f) {
//...
}

// Or
vector4f.forEach { element -> 
// ...
}

Class Vector4f already has method get(int component), which allows treating vectors as fixed length array.

Peanuuutz commented 1 year ago

Speaking of which, should there be iterator support? ...

This could be a core feature, not just for Kotlin users. Please open another issue if you will.