GlobalToLocal() public method

public GlobalToLocal ( Vector2 globalVector ) : Vector2
globalVector Vector2
return Vector2
Esempio n. 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)));
 }
Esempio n. 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));
 }
Esempio n. 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));
	}
Esempio n. 4
0
 public Vector2 LocalToLocal(FNode otherNode, Vector2 otherVector)
 {
     return(otherNode.GlobalToLocal(LocalToGlobal(otherVector)));
 }
Esempio n. 5
0
 public Vector2 LocalToLocal(FNode otherNode, Vector2 otherVector)
 {
     return otherNode.GlobalToLocal(LocalToGlobal(otherVector));
 }