Skip to content

Proposed refactor on Mesh.java by Arkka Dhiratara and Rucha Baphat#6

Open
arkka wants to merge 1 commit intodelftsre:masterfrom
arkka:arkka-rucha-refactor-mesh-class
Open

Proposed refactor on Mesh.java by Arkka Dhiratara and Rucha Baphat#6
arkka wants to merge 1 commit intodelftsre:masterfrom
arkka:arkka-rucha-refactor-mesh-class

Conversation

@arkka
Copy link
Copy Markdown

@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