mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 10:50:33 -07:00
New Slic3r::Point::XS class
This commit is contained in:
21
xs/src/Point.hpp
Normal file
21
xs/src/Point.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef slic3r_Point_hpp_
|
||||
#define slic3r_Point_hpp_
|
||||
|
||||
extern "C" {
|
||||
#include "EXTERN.h"
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
#include "ppport.h"
|
||||
}
|
||||
|
||||
class Point
|
||||
{
|
||||
public:
|
||||
unsigned long x;
|
||||
unsigned long y;
|
||||
Point(unsigned long _x, unsigned long _y): x(_x), y(_y) {};
|
||||
~Point();
|
||||
SV* _toPerl();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user