mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Direction support rot
This commit is contained in:
parent
8353c5105b
commit
160eee04ff
@ -109,7 +109,7 @@ public enum IrisDirection
|
|||||||
for(IrisDirection i : values())
|
for(IrisDirection i : values())
|
||||||
{
|
{
|
||||||
Vector x = i.toVector();
|
Vector x = i.toVector();
|
||||||
double g = x.dot(v);
|
double g = x.distance(v);
|
||||||
|
|
||||||
if(g < m)
|
if(g < m)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user