Example #1
0
void testCrossProduct(){
	Vector4 a;
	Vector4 b;
	a.SetVector4(1,2,0,1);
	b.SetVector4(2,1,1,1);
	Vector4* c;
	c = a.CrossProduct(b,a);
	c->DisplayVector4();

	delete c;
}
Example #2
0
void testVector(){
	Vector4 a;
	Vector4 b;
	a.SetVector4(1,0,0,1);
	b.SetVector4(2,0,0,2);
	Vector4* c;
	c = a.Add(b,a);
	c->DisplayVector4();

	delete c;
}