mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2026-10-19 13:59:23 +08:00
Point/Vector .Perpendicular
This commit is contained in:
1 parent
6a278dc810
commit
ad9acf4fe1
2 files changed
+10
No files matched your search
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user