Skip to content

voldien/hpmcpp

Repository files navigation

HPMCPP

Actions Build Status License: GPL v3 Language grade: C/C++

The hpmcpp is a C++ wrapper library for the hpm library. This makes it more friendly to use in an object-oriented programming environment.

Installation

The software can be easily installed with invoking the following command.

mkdir build && cd build
cmake ..
cmake --build .
make install

Examples

#include<hpmcpp/HC.h>
int main(int argc, const char** argv){

	HCMatrix4x4 iden;
	HCMatrix4x4 tra;
	HCMatrix4x4 res;

	iden.identity();
	tra = HCMatrix4x4::translate(0,0,0);
	res = iden * res;
	std::cout << res;
	
	return EXIT_SUCCESS;
}

Dependencies

The hpmcpp library only depends on the hpm library.

License

This project is licensed under the GPL+3 License - see the LICENSE file for details