Commit Graph

8 Commits

Author SHA1 Message Date
David Allemang
6e3ea1900b Convert hull to static method; inline all_sg_gens and exclude parameters for future testing. 2020-10-22 21:52:25 -04:00
David Allemang
9ce626ee64 introduce Mesh class with subgroup context 2020-10-14 17:14:25 -04:00
6ff09dc375 Introduce perspective projection matrix.
Also correct a bug where the view matrix was not being used.
2020-10-13 10:57:30 -04:00
49927568e4 Introduce cgl::Buffer::put<E> for Eigen matrices and other containers.
Make put(std::vector<T>) more generic by specializing the new put<E> method.
2020-10-13 10:56:55 -04:00
David Allemang
6b34694784 Replace Primitive vector with Eigen matrices.
template<unsigned N>
Prims<N> = Eigen::Matrix<unsigned, N, Eigen::Dynamic>

Replaces std::vector<Primitive<N>>
2020-10-12 21:57:18 -04:00
David Allemang
0534c4322c Refactor Slice / SliceRenderer to be less general; get away from "prop" overhead. 2020-10-11 18:55:43 -04:00
465f863687 multiple vbos for each prop 2020-06-27 22:37:55 -04:00
45584f0621 break into multiple files; remove specialized prop/renderer classes 2020-05-26 22:55:36 -04:00