Clarify cone position (#13568)

# Objective

- Fixes #10616

## Solution

- Added docs describing the center as being the midpoint between the tip
and the center of its base.
This commit is contained in:
Lynn 2024-05-29 22:19:58 +02:00 committed by GitHub
parent 2ac290dd8f
commit 4e72bf4751
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -591,7 +591,9 @@ impl Measured3d for Capsule3d {
}
}
/// A cone primitive.
/// A cone primitive centered on the midpoint between the tip of the cone and the center of its base.
///
/// The cone is oriented with its tip pointing towards the Y axis.
#[derive(Clone, Copy, Debug, PartialEq)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(