GlobalToLocal() public method

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