fixed doc oversight

This commit is contained in:
Matthias Wuketich 2025-06-03 23:14:40 +02:00
parent 3b7f50ab13
commit 6774d94ba9

View File

@ -9,7 +9,7 @@ use bevy_reflect::prelude::*;
pub struct PlaneMeshBuilder { pub struct PlaneMeshBuilder {
/// The [`Plane3d`] shape. /// The [`Plane3d`] shape.
pub plane: Plane3d, pub plane: Plane3d,
/// The number of subdivisions in the mesh. /// The number of subdivisions along the X axis.
/// ///
/// 0 - is the original plane geometry, the 4 points in the XZ plane. /// 0 - is the original plane geometry, the 4 points in the XZ plane.
/// ///
@ -20,7 +20,7 @@ pub struct PlaneMeshBuilder {
/// and so on... /// and so on...
pub subdivisions_x: u32, pub subdivisions_x: u32,
/// The number of subdivisions in the mesh. /// The number of subdivisions along the Z axis.
/// ///
/// 0 - is the original plane geometry, the 4 points in the XZ plane. /// 0 - is the original plane geometry, the 4 points in the XZ plane.
/// ///
@ -108,7 +108,7 @@ impl PlaneMeshBuilder {
} }
#[inline] #[inline]
/// The number of subdivisions in the mesh. /// The number of subdivisions along the X axis.
/// ///
/// 0 - is the original plane geometry, the 4 points in the XZ plane. /// 0 - is the original plane geometry, the 4 points in the XZ plane.
/// ///
@ -123,7 +123,7 @@ impl PlaneMeshBuilder {
} }
#[inline] #[inline]
/// The number of subdivisions in the mesh. /// The number of subdivisions along the Z axis.
/// ///
/// 0 - is the original plane geometry, the 4 points in the XZ plane. /// 0 - is the original plane geometry, the 4 points in the XZ plane.
/// ///