GlobalToLocal() 공개 메소드

public GlobalToLocal ( Vector2 globalVector ) : Vector2
globalVector Vector2
리턴 Vector2
예제 #1
0
 public Vector2 LocalToOther(Vector2 localVector, FNode otherNode)     //takes a point in this node and converts it to a point in another node
 {
     return(otherNode.GlobalToLocal(LocalToGlobal(localVector)));
 }
예제 #2
0
 //takes a point in this node and converts it to a point in another node
 public Vector2 LocalToOther(Vector2 localVector, FNode otherNode)
 {
     return otherNode.GlobalToLocal(LocalToGlobal(localVector));
 }
예제 #3
0
	public Vector2 LocalToOther(Vector2 localVector, FNode otherNode) //takes a point in this node and converts it to a point in another node
	{
		return otherNode.GlobalToLocal(LocalToGlobal(localVector));
	}
예제 #4
0
 public Vector2 LocalToLocal(FNode otherNode, Vector2 otherVector)
 {
     return(otherNode.GlobalToLocal(LocalToGlobal(otherVector)));
 }
예제 #5
0
파일: FNode.cs 프로젝트: narutopatel/Futile
 public Vector2 LocalToLocal(FNode otherNode, Vector2 otherVector)
 {
     return otherNode.GlobalToLocal(LocalToGlobal(otherVector));
 }