Ejemplo n.º 1
0
O3QuadraticEquation<TYPE>& O3QuadraticEquation<TYPE>::Set(TYPE high_x_intercept, TYPE y_intercept) {
	double x_sq = -( O3recip(high_x_intercept*high_x_intercept) ) * y_intercept;
	double constant = y_intercept;
	SetA(x_sq);
	SetB(0);
	SetC(constant);
	return *this;
}
Ejemplo n.º 2
0
LLBC_MD5::MD5GroupDigest &LLBC_MD5::MD5GroupDigest::operator +=(const LLBC_MD5::MD5GroupDigest &right)
{
    SetA(GetA() + right.GetA());
    SetB(GetB() + right.GetB());
    SetC(GetC() + right.GetC());
    SetD(GetD() + right.GetD());

    return *this;
}
Ejemplo n.º 3
0
Triangle::Triangle(Point& a, Point& b, Point& c)
{
	SetA(a);
	SetB(b);
	SetC(c);
}