Difference between revisions of "C++:3D Exercises"

From Progzoo
Jump to: navigation, search
Line 2: Line 2:
 
Calculate the cross product of two vectors.
 
Calculate the cross product of two vectors.
 
Fill in the details in the function '''crossproduct'''
 
Fill in the details in the function '''crossproduct'''
 +
 +
Wikipedia includes a good article on cross products.
 +
http://en.wikipedia.org/wiki/Cross_product#Coordinate_notation
 
<prog><![CDATA[
 
<prog><![CDATA[
 
#include <math.h>
 
#include <math.h>

Revision as of 08:26, 23 November 2011

Calculate the cross product of two vectors. Fill in the details in the function crossproduct

Wikipedia includes a good article on cross products. http://en.wikipedia.org/wiki/Cross_product#Coordinate_notation



[Font] [Default] [Show] [Resize] [History] [Profile]