Esempio n. 1
0
void AABB::update(const float deltaTime, const Vector3 & translate)
{
	Vector3 tran = translate;
	tran.Multiply(deltaTime);
	m_Max += tran;
	m_Min += tran;
}
Esempio n. 2
0
	Vector3 operator-(Vector3 const& other) const {
		return this->Add(other.Multiply(-1));
	}