예제 #1
0
        public void Init(PointMeshGeometry3D geometry)
        {
            base.Init(geometry);

            this.radiusBuffer    = new uint[1];
            this.radiusBuffer[0] = CreateVertexBufferObject(OpenGL.GL_ARRAY_BUFFER, geometry.Radius, OpenGL.GL_STREAM_DRAW);
            this.count           = geometry.Count;
        }
예제 #2
0
        public void Init(PointMeshGeometry3D geometry)
        {
            base.Init(geometry);

            this.radiusBuffer = new uint[1];
            this.radiusBuffer[0] = CreateVertexBufferObject(OpenGL.GL_ARRAY_BUFFER, geometry.Radius, OpenGL.GL_STREAM_DRAW);
            this.count = geometry.Count;
        }