New Slic3r::Point::XS class

This commit is contained in:
Alessandro Ranellucci 2013-07-06 15:26:32 +02:00
parent cca25c9950
commit c50ecfb7f8
11 changed files with 109 additions and 17 deletions

View file

@ -3,21 +3,8 @@
#include <vector>
////////////////
class ZTable
{
public:
ZTable(std::vector<unsigned int>* z_array);
std::vector<unsigned int> get_range(unsigned int min_z, unsigned int max_z);
std::vector<unsigned int> z;
};
ZTable::ZTable(std::vector<unsigned int>* ztable) :
z(*ztable)
{
}
////////////////
#include "TriangleMesh.hpp"
#define av_store_point_xy(AV, X, Y) \
av_store(AV, 0, newSViv(X)); \
av_store(AV, 1, newSViv(Y))
#endif