mirror of
https://github.com/StepanovPlaton/C3DGraphicEngine.git
synced 2026-04-04 04:40:44 +04:00
Begin cross platform support
This commit is contained in:
11
src/engine/vector.h
Normal file
11
src/engine/vector.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef VECTOR_H
|
||||
#define VECTOR_H
|
||||
|
||||
void vector_substruct(int size, const float v1[size], const float v2[size],
|
||||
float r[size]);
|
||||
void cross_product_vectors(const float v1[3], const float v2[3], float r[3]);
|
||||
float dot_product_vectors(const float v1[3], const float v2[3]);
|
||||
void vector_normalize(int size, const float v[size], float r[size]);
|
||||
// void print_vector(int size, float vector[size]);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user