sort, reorder vectors and eigen (dynamic) matrices like matlabs sort (with example)
function to retrieve shader uniform names and locations,
function to report open gl errors to stderr
example that prints opengl version and glsl version,
Former-commit-id: 729936710f
23 lines
327 B
Plaintext
23 lines
327 B
Plaintext
This is a simple example program that shows how to use the readDMAT and
|
|
writeDMAT functions of the igl library
|
|
|
|
|
|
To Build:
|
|
make
|
|
|
|
To Run:
|
|
./example [input path] [output path]
|
|
|
|
Example Run #1:
|
|
Issuing:
|
|
./example example.dmat output.dmat
|
|
cat output.dmat
|
|
should produce:
|
|
3 2
|
|
1
|
|
4
|
|
2
|
|
5
|
|
3
|
|
6
|