mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 06:00:20 +00:00
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:
parent
2ac290dd8f
commit
4e72bf4751
1 changed files with 3 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue