8000 More fixes by Altair-Alpha · Pull Request #98 · BoomingTech/Piccolo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

More fixes #98

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

Merged
merged 2 commits into from
Apr 11, 2022
Merged

More fixes #98

merged 2 commits into from
Apr 11, 2022

Conversation

Altair-Alpha
Copy link
Contributor
  1. Vector2 class is missing a operator[] as Vector3 and Vector4 does. Also there're 3 typos in the comment.
  2. In scene_manager:
    https://github.com/BoomingTech/Pilot/blob/5de12a37d1709ced2d2be324ad5f7a88727bfb9b/engine/source/runtime/function/scene/scene_manager.h#L38
    this function declares its parameter as const &&(seems strange), I suppose it should be either const & or &&?

    https://github.com/BoomingTech/Pilot/blob/5de12a37d1709ced2d2be324ad5f7a88727bfb9b/engine/source/runtime/function/scene/scene_manager.cpp#L678
    The release function for mesh, material and skeleton binding use auto to get the element from a std::deque, which is a copy. Maybe it's better to use a reference. Also renaming the variable handle to skeleton_binding_handle to keep consistent with its counterparts in mesh and material release function. If the team is working on a bigger refactoring of this class, you can ignore this commit:)

@hyv1001 hyv1001 merged commit 3a3fa15 into BoomingTech:main Apr 11, 2022
@Altair-Alpha Altair-Alpha deleted the fixes branch April 11, 2022 04:17
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.

2 participants
0