Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add vertex attribute bindings for short and byte #4906

Merged
merged 3 commits into from Sep 25, 2021

Conversation

pollend
Copy link
Member

@pollend pollend commented Sep 12, 2021

I added attribute bindings for short and byte and also add some additional test that cover these cases.

@github-actions github-actions bot added the Type: Improvement Request for or addition/enhancement of a feature label Sep 12, 2021
Comment on lines +97 to +98
elements.flags.put((byte) (flags.getValue()));
elements.frames.put((byte) (texFrames - 1));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can verify this by starting CoreWorlds and giving a lava block and verifying the animations play correctly.

Copy link
Member

@Cervator Cervator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't say I can ever quite remember what a vertex is, but I get the overall idea of what this means and it tests out fine (thanks for the lava example), Jenkins likes the unit tests, etc. All good to merge :-)

@Cervator Cervator merged commit e670245 into develop Sep 25, 2021
@Cervator Cervator deleted the feature/add-vertex-attribute-short-byte branch September 25, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Improvement Request for or addition/enhancement of a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants