Class PlaneExtensions

Namespace
Elegy.Common.Extensions
Assembly
Elegy.Common.dll

Elegy-specific Plane extensions. Mainly for TrenchBroom map compilation.

public static class PlaneExtensions
Inheritance
PlaneExtensions
Inherited Members

Methods

GetClosestAxis(PlaneD)

Gets the closest axis to the plane's normal. This is for Brush faces that do not have paraxial texture coordinates.

public static Vector3D GetClosestAxis(this PlaneD plane)

Parameters

plane PlaneD

Returns

Vector3D

GetClosestAxis(Plane)

Gets the closest axis to the plane's normal. This is for Brush faces that do not have paraxial texture coordinates.

public static Vector3 GetClosestAxis(this Plane plane)

Parameters

plane Plane

Returns

Vector3