Skip to content

Commit

Permalink
Fix typo in default Triangle3d vertices
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfhc committed Mar 20, 2024
1 parent 4437a15 commit 16027c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_math/src/primitives/dim3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ pub struct Triangle3d {
impl Primitive3d for Triangle3d {}

impl Default for Triangle3d {
/// Returns the default [`Triangle3d`] with the vertices `[0.5, 0.5, 0.0]`, `[-0.5, -0.5, 0.0]`, and `[0.5, -0.5, 0.0]
/// Returns the default [`Triangle3d`] with the vertices `[0.5, 0.5, 0.0]`, `[-0.5, -0.5, 0.0]`, and `[0.5, -0.5, 0.0]`
fn default() -> Self {
Self {
vertices: [
Expand Down

0 comments on commit 16027c4

Please sign in to comment.