Contains class responsible for creation and drawing a cloth Cloth is drawn as a wireframe and made of masses connected by springs It uses Mass-Spring system for representation Numerous parameters can be changed in order to achieve the behaviour of different types of materials. More...
#include <ngl/Vector.h>
#include <ngl/Colour.h>
#include "Mass.h"
#include "Integrator.h"
#include "Spring.h"
#include "Triangle.h"
#include "Edge.h"
#include "Face.h"
#include <vector>
#include <ngl/Transformation.h>
#include <ngl/TransformStack.h>
#include <ngl/Obj.h>
Go to the source code of this file.
Classes | |
struct | ConstraintPoint |
class | Cloth |
class which creates a cloth. It contains all themethods to work with masses and springs, which combined together in a mass-spring system represent a cloth More... | |
Enumerations | |
enum | IntegrationMethod { EULER_FORWARD, VERLET, RK_4 } |
Contains class responsible for creation and drawing a cloth Cloth is drawn as a wireframe and made of masses connected by springs It uses Mass-Spring system for representation Numerous parameters can be changed in order to achieve the behaviour of different types of materials.