C# Class FC3Editor.Nomad.Plane

Exibir arquivo Open project: Azerothian/fc3editor Class Usage Examples

Public Properties

Property Type Description
dist float
normal Vec3

Public Methods

Method Description
FromPointNormal ( Vec3 pt, Vec3 normal ) : Plane
FromPoints ( Vec3 p1, Vec3 p2, Vec3 p3 ) : Plane
RayIntersect ( Vec3 raySrc, Vec3 rayDir, Vec3 &pt ) : bool

Method Details

FromPointNormal() public static method

public static FromPointNormal ( Vec3 pt, Vec3 normal ) : Plane
pt Vec3
normal Vec3
return Plane

FromPoints() public static method

public static FromPoints ( Vec3 p1, Vec3 p2, Vec3 p3 ) : Plane
p1 Vec3
p2 Vec3
p3 Vec3
return Plane

RayIntersect() public method

public RayIntersect ( Vec3 raySrc, Vec3 rayDir, Vec3 &pt ) : bool
raySrc Vec3
rayDir Vec3
pt Vec3
return bool

Property Details

dist public_oe property

public float dist
return float

normal public_oe property

public Vec3,FC3Editor.Nomad normal
return Vec3