These are listed in the following table: LWJGL 2 Some Matrix4f operations have different names in JOML. In JOML the position will not be changed! In LWJGL 2 the position of the FloatBuffer will be incremented by load and store operations. One important difference is the handling of NIO FloatBuffers when getting values from or writing values into a FloatBuffer. JOML uses a very similar design compared to LWJGL 2's util vecmath classes, by providing instance methods writing the result back into the same object, and instance methods accepting a destination parameter.Īlso, methods such as rotate(), translate() and scale() post-multiply their respective transformations to the current matrix values. So if you are using LWJGL 2 and especially its "util" jar with the classes in the included vector package, you can migrate easily to JOML. This article is for people who are currently using LWJGL 2 and wanting to switch to LWJGL 3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |