table of contents
other versions
- jessie 0.2.2-10
- stretch 0.2.2-14
- testing 0.2.2-16
- unstable 0.2.2-16
- experimental 0.2.2-17
S3D_VECTOR_LENGTH(3) | s3d Manual | S3D_VECTOR_LENGTH(3) |
NAME¶
s3d_vector_length - calculate length of vectorSYNOPSIS¶
#include <s3d.h>
float
s3d_vector_length(const float vector[]);
DESCRIPTION¶
Calculates and returns the length of the given vector (which should be of the type float[3]). More info on wikipedia http://en.wikipedia.org/wiki/Vector_(spatial)AUTHOR¶
Simon WunderlichAuthor of s3d
s3d |