S&box Wiki

Angles

Fields

float pitch
float roll
float yaw
static Angles Zero

Properties

Vector3 Direction { get; set; }
The direction vector for this angle
float Length { get; }
float LengthSqr { get; }
Angles Normal { get; }
static Angles Random { get; }

Methods

static Vector3 AngleVector( Angles ang )
Converts an angle to a forward vector
static float ClampAngle( float v )
bool IsNearlyZero( double tolerance = 5E-324 )
static Angles Lerp( Angles a, Angles b, float t )
static float NormalizeAngle( float v )
static Angles Parse( string str )
static Angles Read( System.IO.BinaryReader reader )
Angles WithPitch( float pitch )
Angles WithRoll( float roll )
Angles WithYaw( float yaw )
static void Write( System.IO.BinaryWriter writer, Angles v )

Page Links


Special Pages


Wikis

?

Render Time: 26ms

DB GetPage 8
Generate Html 0
SaveChanges (1) 15
Render Body 0
Render Sidebar 0