X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=demo_prior;a=blobdiff_plain;f=libs%2Fcgmath%2FREADME.md;fp=libs%2Fcgmath%2FREADME.md;h=119aa4a1177cffeec55659858676851d04a901f0;hp=0000000000000000000000000000000000000000;hb=0b24071f728b7c8550daa1b7aa7c4012cb70ef4c;hpb=44a7a61d2bec54ed741930572e63e5015326daca diff --git a/libs/cgmath/README.md b/libs/cgmath/README.md new file mode 100644 index 0000000..119aa4a --- /dev/null +++ b/libs/cgmath/README.md @@ -0,0 +1,29 @@ +gph-cmath: C math library for graphics +====================================== + +About +----- +gph-cmath is a C math library for graphics programs. It provides a plethora of +operations on vectors, matrices and quaternions, among other things. + +It's conceptually a companion to my C++ math library +[gph-math](http://github.com/jtsiomb/gph-math), but where gph-math is designed +with intuitiveness and ease of use as the main priority, this C version is +designed to be as low-overhead as possible, making it more suitable for more +resource-constrained target systems. +For instance most functions modify their first argument, instead of doing an +extra copy to provide a more natural 3 operand interface. Leaving the copy to +the user for the cases where it's necessary. + +License +------- +Copyright (C) 2016 John Tsiombikas + +This program is free software. Feel free to use, modify, and/or redistribute it +under the terms of the MIT/X11 license. See LICENSE for details. + +How to use +---------- +There's nothing to build. All functions are static inline, defined in the header +files. Either type `make install` to install them system-wide, or just copy all +files under `src/` to your project source tree.