GlobalToLocal() public method

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