docs: add documentation for PlaneIntersectionMode

This commit is contained in:
Mateusz Stulczewski 2025-07-16 16:50:32 +02:00
parent d502a9e099
commit ab532fde73

View File

@ -68,8 +68,11 @@ impl Ray2d {
reflect(Deserialize, Serialize) reflect(Deserialize, Serialize)
)] )]
pub enum PlaneIntersectionMode { pub enum PlaneIntersectionMode {
/// Intersects only the front face of the plane.
FrontFaceOnly, FrontFaceOnly,
/// Intersects only the back face of the plane.
BackFaceOnly, BackFaceOnly,
/// Intersects both faces of the plane.
Both, Both,
} }