History

don't render raw compound collision geometry

Andrew Meadows committed 10 years ago

Commit fe419851 parent 191b7f04 files · +22 −31Browse files

Showing the changes to libraries/render-utils/src/MeshPartPayload.cpp (1 of 4 files). Show all

Unified · Split

libraries/render-utils/src/MeshPartPayload.cpp+1−3
@@ -46,11 +46,9 @@ template <> void payloadRender(const MeshPartPayload::Pointer& payload, RenderAr · 45 unmodified lines
46}46}
47}47}
48 48
49MeshPartPayload::MeshPartPayload(const std::shared_ptr<const model::Mesh>& mesh, int partIndex, model::MaterialPointer material, const Transform& transform, const Transform& offsetTransform) {49MeshPartPayload::MeshPartPayload(const std::shared_ptr<const model::Mesh>& mesh, int partIndex, model::MaterialPointer material) {
50
51 updateMeshPart(mesh, partIndex);50 updateMeshPart(mesh, partIndex);
52 updateMaterial(material);51 updateMaterial(material);
53 updateTransform(transform, offsetTransform);
54}52}
55 53
56void MeshPartPayload::updateMeshPart(const std::shared_ptr<const model::Mesh>& drawMesh, int partIndex) {54void MeshPartPayload::updateMeshPart(const std::shared_ptr<const model::Mesh>& drawMesh, int partIndex) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t