C# 클래스 World.Physics.Utils

파일 보기 프로젝트 열기: GoodAI/BrainSimulator

공개 메소드들

메소드 설명
ComposeSpeed ( System.Vector2 speeds ) : float>.Tuple

ComposeSpeed ( System.Vector2 speeds, float referenceDirection ) : float>.Tuple

DecomposeSpeed ( float speed, float direction ) : System.Vector2
DecomposeSpeed ( float speed, float direction, float referenceDirection ) : System.Vector2
Move ( System.Vector2 initialPosition, float directionInRads, float speed ) : System.Vector2

메소드 상세

ComposeSpeed() 공개 정적인 메소드

public static ComposeSpeed ( System.Vector2 speeds ) : float>.Tuple
speeds System.Vector2
리턴 float>.Tuple

ComposeSpeed() 공개 정적인 메소드

public static ComposeSpeed ( System.Vector2 speeds, float referenceDirection ) : float>.Tuple
speeds System.Vector2
referenceDirection float
리턴 float>.Tuple

DecomposeSpeed() 공개 정적인 메소드

public static DecomposeSpeed ( float speed, float direction ) : System.Vector2
speed float
direction float
리턴 System.Vector2

DecomposeSpeed() 공개 정적인 메소드

public static DecomposeSpeed ( float speed, float direction, float referenceDirection ) : System.Vector2
speed float
direction float
referenceDirection float
리턴 System.Vector2

Move() 공개 정적인 메소드

public static Move ( System.Vector2 initialPosition, float directionInRads, float speed ) : System.Vector2
initialPosition System.Vector2
directionInRads float
speed float
리턴 System.Vector2