Skip to content

Add a test for Mesh::compute_smooth_normals#16038

Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom
stepancheg:compute-smooth-normals
Oct 20, 2024
Merged

Add a test for Mesh::compute_smooth_normals#16038
alice-i-cecile merged 1 commit intobevyengine:mainfrom
stepancheg:compute-smooth-normals

Conversation

@stepancheg
Copy link
Copy Markdown
Contributor

Objective

  • Code is safer with tests

Solution

  • Add a test

Testing

  • Test added

@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change A-Math Fundamental domain-agnostic mathematical operations S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Oct 20, 2024
@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Oct 20, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Oct 20, 2024
Merged via the queue into bevyengine:main with commit 2e2d669 Oct 20, 2024
github-merge-queue bot pushed a commit that referenced this pull request Oct 20, 2024
# Objective

- Less code
- Simpler code

## Solution

- Remove unnecessary division: `normalize` already does that

## Testing

- Test added in #16038
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Math Fundamental domain-agnostic mathematical operations A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants