Skip to content

Conversation

@arkka
Copy link

@arkka arkka commented Apr 9, 2016

This PR is our effort to provide refactor to improve jMonkeyEngine for SRE course. As requested, here is squashed 1 commit file for our effort. For detailed commit message, please see https://github.com/arkka/jmonkeyengine/tree/refactor-mesh-extract-vertex-data

Provide jUnit test file: MeshTest.java
Refactor and rework extractVertexData() by introducing two new reusable methods createIndexBuffer() and createVertexBuffer()
Refactor prepareForAnim(Boolean) into two separated new methods, which are prepareForAnimSoftware() and prepareForAnimHardware()
Remove deprecated method setInterleaved(), because too long and not already used

- Provide jUnit test file: MeshTest.java
- Refactor and rework extractVertexData() by introducing two new reusable methods createIndexBuffer() and createVertexBuffer()
- Refactor prepareForAnim(Boolean) into two separated new methods, which are prepareForAnimSoftware() and prepareForAnimHardware()
- Remove deprecated method setInterleaved(), because too long and not already used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant