diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-16 17:37:08 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-16 17:37:08 +0200 |
commit | fc31682ee29e700f25e746fea9fb9978f3d3d5d2 (patch) | |
tree | f51704facfeef7b8b1a3de2c40322f4c0738b2ab /src | |
parent | f0e6ea4e8a816d018dc5af760fa68a6951cf0f6a (diff) |
Make plane less curved
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 95db46d..9dbe5f2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1595,9 +1595,9 @@ void CMainApplication::AddCubeToScene( const glm::mat4 &mat, std::vector<float> double t2 = (((double)column + 1) / (double)columns); double x1 = sin(angle_start + t1 * angle_len) * radius; - double y1 = cos(angle_start + t1 * angle_len) * radius * 0.75; + double y1 = cos(angle_start + t1 * angle_len) * radius * 0.6; double x2 = sin(angle_start + t2 * angle_len) * radius; - double y2 = cos(angle_start + t2 * angle_len) * radius * 0.75; + double y2 = cos(angle_start + t2 * angle_len) * radius * 0.6; // 2 n // 1 /| / | m |