#pragma once

#include <vector>



namespace geom
{


class MeshBuf;


class PolylineLenInfo
{
public:
	PolylineLenInfo(void) :
		Length(0.0f)
	{
	}


public:
	lm::vec3f TargetPos;
	float     Length;
};


class PolylineContext
{
public:
	void CreateLengthInfo(const MeshBuf& meshbuf);
	bool HasLengthInfo(void) const;


public:
	std::vector<PolylineLenInfo> LenInfo;
};


}
