Exemplo n.º 1
0
 protected override bool CanShareBufferWith(Primitive <VertexPositionNormalTexture> primitive)
 {
     return(primitive is Box);
 }
Exemplo n.º 2
0
 protected override bool CanShareBufferWith(Primitive <VertexPositionNormalTexture> primitive)
 {
     return(primitive is Cylinder && ((Cylinder)primitive).tessellation == tessellation);
 }