mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-21 08:34:11 +00:00
better rendering
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@522 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -202,7 +202,7 @@ void MwDrawTriangle(MwWidget handle, MwRect* rect, MwLLColor color, int invert,
|
||||
MwLLColor darker = MwLightenColor(handle, color, -ColorDiff, -ColorDiff, -ColorDiff);
|
||||
MwLLColor lighter = MwLightenColor(handle, color, ColorDiff, ColorDiff, ColorDiff);
|
||||
|
||||
double deg = 30 + ((direction == MwEAST || direction == MwWEST) ? 30 : 0);
|
||||
double deg = 30 * ((direction == MwEAST || direction == MwWEST) ? 2 : 1);
|
||||
double c = cos(deg / 180 * M_PI);
|
||||
double s = sin(deg / 180 * M_PI);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user