S3D_VECTOR_LENGTH(3)

✨ S3D_VECTOR_LENGTH ✨

okay bestie, welcome to the s3d manual πŸ’– this one's a lil cutie from section 3, and it's literally about measuring how long a vector is. no cap.


🌸 NAME 🌸

s3d_vector_length β€” calculate length of vector πŸ¦‹


πŸ’… SYNOPSIS πŸ’…

#include <s3d.h>

float s3d_vector_length(const float vector[]);

πŸŽ€ DESCRIPTION πŸŽ€

okay so here's the tea πŸ«– β€” this function calculates and returns the length of the given vector. and like, the vector you hand it should be of the type float[3], bestie. three floats. that's the vibe. don't be out here passing it some random thing, it's giving float[3] and nothing else. πŸ’€

for more info on wikipedia: http://en.wikipedia.org/wiki/Vector_(spatial) β€” go read it, i'll wait πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Simon Wunderlich

  • Author of s3d ⭐

that's the whole page, periodt. πŸ’– this was s3d manual page S3D_VECTOR_LENGTH(3) β€” go off and measure some vectors, you got this 🧚✨