History

Working on renderer attribute.

Andrzej Kapolka committed 12 years ago

Commit 5bd3d1f1 parent 0da46a56 files · +105 −1Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 6 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+4−0
@@ -25,6 +25,7 @@ · 24 unmodified lines
25#include "MetavoxelSystem.h"25#include "MetavoxelSystem.h"
26#include "renderer/Model.h"26#include "renderer/Model.h"
27 27
28REGISTER_META_OBJECT(PointMetavoxelRendererImplementation)
28REGISTER_META_OBJECT(SphereRenderer)29REGISTER_META_OBJECT(SphereRenderer)
29REGISTER_META_OBJECT(StaticModelRenderer)30REGISTER_META_OBJECT(StaticModelRenderer)
30 31
@@ -476,6 +477,9 @@ AttributeValue PointBufferAttribute::inherit(const AttributeValue& parentValue) · 445 unmodified lines
476 return AttributeValue(parentValue.getAttribute());477 return AttributeValue(parentValue.getAttribute());
477}478}
478 479
480PointMetavoxelRendererImplementation::PointMetavoxelRendererImplementation() {
481}
482
479static void enableClipPlane(GLenum plane, float x, float y, float z, float w) {483static void enableClipPlane(GLenum plane, float x, float y, float z, float w) {
480 GLdouble coefficients[] = { x, y, z, w };484 GLdouble coefficients[] = { x, y, z, w };
481 glClipPlane(plane, coefficients);485 glClipPlane(plane, coefficients);