mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-27 14:36:34 +01:00
Some initial work for 3D slice rendering
This commit is contained in:
1 parent
a34cd24fa1
commit
a82f95e903
5 files changed
+100
-3
No files matched your search
@@ -133,6 +133,12 @@ Line::vector() const
|
||||
return Vector(this->b.x - this->a.x, this->b.y - this->a.y);
|
||||
}
|
||||
|
||||
Vector
|
||||
Line::normal() const
|
||||
{
|
||||
return Vector((this->b.y - this->a.y), -(this->b.x - this->a.x));
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
|
||||
REGISTER_CLASS(Line, "Line");
|
||||
|
||||
Reference in new issue
Block a user