'\" t .\" Title: s3d_vector_cross_product .\" Author: Simon Wunderlich .\" Generator: DocBook XSL Stylesheets .\" .\" Manual: s3d Manual .\" Source: s3d .\" Language: English .\" .TH "S3D_VECTOR_CROSS_PRO" "3" "" "s3d" "s3d Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" s3d_vector_cross_product \- calculate cross product of two vectors .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .HP \w'void\ s3d_vector_cross_product('u .BI "void s3d_vector_cross_product(const\ float\ " "vector1" "[], const\ float\ " "vector2" "[], float\ " "result_vector" "[]);" .SH "DESCRIPTION" .PP Calculates and returns the cross product of vector1 and vector2\&. All vectors should have the format float[3]\&. More info on wikipedia\&. http://en\&.wikipedia\&.org/wiki/Vector_(spatial) .SH "AUTHOR" .PP \fBSimon Wunderlich\fR .RS 4 Author of s3d .RE