GlobalToLocal() public method

public GlobalToLocal ( Vector2 globalVector ) : Vector2
globalVector Vector2
return Vector2
コード例 #1
0
ファイル: FNode.cs プロジェクト: SimianLogic/LD29_LakeMonster
 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
ファイル: FNode.cs プロジェクト: maggardJosh/NinjaCircuit
	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));
 }