Skip to content

Commit c64e708

Browse files
committed
fix: don't cull ghost backfaces
Fixes p2sr#336
1 parent 6d33cf8 commit c64e708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Features/Demo/GhostEntity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void GhostEntity::Display() {
157157

158158
MeshId mesh = OverlayRender::createMesh(solid, RenderCallback::none);
159159

160-
#define TRIANGLE(p1, p2, p3) OverlayRender::addTriangle(mesh, p1, p2, p3, true)
160+
#define TRIANGLE(p1, p2, p3) OverlayRender::addTriangle(mesh, p1, p2, p3)
161161
switch (GhostEntity::ghost_type) {
162162
case GhostType::CIRCLE: {
163163
float rad = ghost_height.GetFloat() / 2;

0 commit comments

Comments
 (0)