https://github.com/sueda/eol-cloth
Raw File
Tip revision: cc8f24eef81283c541b859c05dd8ceed7813271f authored by Shinjiro Sueda on 15 October 2019, 01:48:02 UTC
Update README.md
Tip revision: cc8f24e
Points.h
#pragma once
#ifndef __Points__
#define __Points__

#include <memory>

#define EIGEN_DONT_ALIGN_STATICALLY
#include <Eigen/Dense>

#ifdef EOLC_ONLINE
class MatrixStack;
class Program;
#endif // EOLC_ONLINE

class Points
{
public:
	EIGEN_MAKE_ALIGNED_OPERATOR_NEW

		Points() : num_points(0) {};
	virtual ~Points() {};

	int num_points;
	Eigen::MatrixXd pxyz;
	Eigen::MatrixXd norms;

#ifdef EOLC_ONLINE
	void drawSimple(std::shared_ptr<MatrixStack> MV, const std::shared_ptr<Program> p) const;
#endif // EOLC_ONLINE

private:

};

#endif
back to top