Skip to content

voldien/hpmcpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ace969b · Nov 10, 2021
Oct 26, 2021
Apr 18, 2021
Nov 10, 2021
Nov 10, 2021
Mar 30, 2021
Mar 27, 2021
Mar 27, 2021
Oct 11, 2020
Sep 1, 2020
Aug 13, 2021
Sep 9, 2017
May 31, 2017
Sep 22, 2020

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