Skip to content

Commit

Permalink
Fixed skybox stretching
Browse files Browse the repository at this point in the history
  • Loading branch information
imdex committed Apr 16, 2017
1 parent 3c5b4f7 commit 7b9b838
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/engine/xrRenderCommon/dxEnvironmentRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ static Fvector3 hbox_verts[24] =
{ 1.f, -1.f, -1.f}, { 1.f, -1.01f, -1.f}, // down
{-1.f, -1.f, 1.f}, {-1.f, -1.01f, 1.f}, // down
{ 1.f, -1.f, 1.f}, { 1.f, -1.01f, 1.f}, // down
{-1.f, 2.f, -1.f}, {-1.f, 1.f, -1.f},
{ 1.f, 2.f, -1.f}, { 1.f, 1.f, -1.f},
{-1.f, 2.f, 1.f}, {-1.f, 1.f, 1.f},
{ 1.f, 2.f, 1.f}, { 1.f, 1.f, 1.f},
{-1.f, 1.f, -1.f}, {-1.f, 1.f, -1.f},
{ 1.f, 1.f, -1.f}, { 1.f, 1.f, -1.f},
{-1.f, 1.f, 1.f}, {-1.f, 1.f, 1.f},
{ 1.f, 1.f, 1.f}, { 1.f, 1.f, 1.f},
{-1.f, 0.f, -1.f}, {-1.f, -1.f, -1.f}, // half
{ 1.f, 0.f, -1.f}, { 1.f, -1.f, -1.f}, // half
{ 1.f, 0.f, 1.f}, { 1.f, -1.f, 1.f}, // half
Expand Down

0 comments on commit 7b9b838

Please sign in to comment.