Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/render/mesh.h')
-rw-r--r--intern/cycles/render/mesh.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/intern/cycles/render/mesh.h b/intern/cycles/render/mesh.h
index e9e79f7f20d..8258c18ddd1 100644
--- a/intern/cycles/render/mesh.h
+++ b/intern/cycles/render/mesh.h
@@ -224,18 +224,10 @@ class Mesh : public Geometry {
void pack_shaders(Scene *scene, uint *shader);
void pack_normals(float4 *vnormal);
- void pack_verts(const vector<uint> &tri_prim_index,
- uint4 *tri_vindex,
- uint *tri_patch,
- float2 *tri_patch_uv,
- size_t vert_offset,
- size_t tri_offset);
- void pack_patches(uint *patch_data, uint vert_offset, uint face_offset, uint corner_offset);
-
- void pack_primitives(PackedBVH *pack,
- int object,
- uint visibility,
- PackFlags pack_flags) override;
+ void pack_verts(float4 *tri_verts, uint4 *tri_vindex, uint *tri_patch, float2 *tri_patch_uv);
+ void pack_patches(uint *patch_data);
+
+ PrimitiveType primitive_type() const override;
void tessellate(DiagSplit *split);