C# 클래스 Nomad.Maths.Plane

파일 보기 프로젝트 열기: Azerothian/fc3editor 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
dist float
normal Vec3

공개 메소드들

메소드 설명
FromPointNormal ( Vec3 pt, Vec3 normal ) : Plane
FromPoints ( Vec3 p1, Vec3 p2, Vec3 p3 ) : Plane
RayIntersect ( Vec3 raySrc, Vec3 rayDir, Vec3 &pt ) : bool

메소드 상세

FromPointNormal() 공개 정적인 메소드

public static FromPointNormal ( Vec3 pt, Vec3 normal ) : Plane
pt Vec3
normal Vec3
리턴 Plane

FromPoints() 공개 정적인 메소드

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

RayIntersect() 공개 메소드

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

프로퍼티 상세

dist 공개적으로 프로퍼티

public float dist
리턴 float

normal 공개적으로 프로퍼티

public Vec3,Nomad.Maths normal
리턴 Vec3