hyades.physics.PressureBody.PressureBody C# (CSharp) Method

PressureBody() public method

public PressureBody ( Shape s, float mass, float gasPressure, float edgeSpringK, float edgeSpringDamp, float shapeSpringK, float shapeSpringDamp ) : System
s Shape
mass float
gasPressure float
edgeSpringK float
edgeSpringDamp float
shapeSpringK float
shapeSpringDamp float
return System
        public PressureBody(Shape s, float mass, float gasPressure, float edgeSpringK, float edgeSpringDamp, float shapeSpringK, float shapeSpringDamp)
            : base(s, mass, edgeSpringK, edgeSpringDamp, shapeSpringK, shapeSpringDamp)
        {
            pressure = gasPressure;
            normal_list = new Vector2[count];
            edgelength_list = new float[count];
        }