Skip to content

rsanchezmo/vector-3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D vector C++ class

A simple class implementation of a 3d vector [x,y,z] in C++.

3D vector utils

A template library that makes operations with the Vector3D class. They are under the vector_utils namespace.

GTest verification

To check the vector_utils.hpp functions between Vector3D vectors, there is implemented a test.cpp which uses google test to check its validity.

gtest

Previous requirements

You need to have correctly installed gtest Google Test GitHub in order to use it.

Build the programs

mkdir build
cd build/
cmake ..
make

Run the programs

cd build/
./myProgram
./myTest

About

Vector 3D C++ class and its validations with GTest

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published