electronstudio / jaylib

Java JNI bindings for Raylib
Other
124 stars 23 forks source link

Texture vs Texture2D #21

Open electronstudio opened 3 years ago

electronstudio commented 3 years ago

Investigate why Texture works but Texture2D doesn't.

electronstudio commented 3 years ago

Texture is the canonical name. Texture2d is a type alias for it. Confusingly opposite way from Camera and Camera3d.

I don’t know a good way to support aliases in Java… ?

DNAmaster10 commented 1 year ago

Hello! Does this mean that Texture should be used in place of Texture2D?

electronstudio commented 1 year ago

That's what I've been doing.