Searched defs:CurveSegment (Results 1 – 1 of 1) sorted by relevance
51 struct CurveSegment { struct52 CurveSegment() : x_(INFINITY), sqr_(0.0), mul_(1.0), int_(0.0) {} in CurveSegment() function53 CurveSegment(float x, float s, float m, float b) in CurveSegment() argument55 CurveSegment(const CurveSegment& that) in CurveSegment() argument59 double x_; // Max X value of segment. User's point will be less than this.60 double sqr_; // x^2 multiplier61 double mul_; // Slope of line (x multiplier)62 double int_; // Intercept of line