mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-01-31 07:48:27 +08:00
Point/Vector .Perpendicular
This commit is contained in:
parent
6a278dc810
commit
ad9acf4fe1
@ -33,6 +33,11 @@ namespace Strawberry
|
||||
|
||||
}
|
||||
|
||||
public Point Perpendicular()
|
||||
{
|
||||
return .(-Y, X);
|
||||
}
|
||||
|
||||
public override void ToString(String strBuffer)
|
||||
{
|
||||
strBuffer.Set("Point [ ");
|
||||
|
@ -27,6 +27,11 @@ namespace Strawberry
|
||||
Y = y;
|
||||
}
|
||||
|
||||
public Vector Perpendicular()
|
||||
{
|
||||
return .(-Y, X);
|
||||
}
|
||||
|
||||
public float Length
|
||||
{
|
||||
[Inline]
|
||||
|
Loading…
Reference in New Issue
Block a user