grey hangar with linear color space conversion on hex color inputs
This commit is contained in:
parent
67b6cd40e8
commit
d113460fea
2 changed files with 7 additions and 7 deletions
|
@ -2,8 +2,8 @@
|
|||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.dofdev.snake"
|
||||
android:versionCode="45"
|
||||
android:versionName="1.49"
|
||||
android:versionCode="46"
|
||||
android:versionName="1.50"
|
||||
android:installLocation="auto"
|
||||
>
|
||||
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" />
|
||||
|
|
10
src/Arts.cs
10
src/Arts.cs
|
@ -91,13 +91,13 @@ static class Arts
|
|||
Lines.Add(
|
||||
box_m4 * V.XYZ(0, Mono.SD_Y - 0.5f, 0),
|
||||
Rig.head.position + Rig.head.orientation * V.XYZ(0, 6 * U.cm, -box_head_dist),
|
||||
Color.White,
|
||||
Color.Hex(0x808080FF).ToLinear(),
|
||||
1.0f * U.mm
|
||||
);
|
||||
Lines.Add(
|
||||
Rig.head.position + Rig.head.orientation * V.XYZ(0, 6 * U.cm, -box_head_dist),
|
||||
Rig.head.position + Rig.head.orientation * V.XYZ(0, 6 * U.cm, 0),
|
||||
Color.White,
|
||||
Color.Hex(0x808080FF).ToLinear(),
|
||||
1.0f * U.mm
|
||||
);
|
||||
}
|
||||
|
@ -122,7 +122,7 @@ static class Arts
|
|||
V.XYZ(-1.333f, 0, Mono.SD_Z - 0.5f + 0.1f),
|
||||
Quat.FromAngles(90, 0, 0)
|
||||
),
|
||||
Color.Hex(0x524B67FF)
|
||||
Color.Hex(0x928CA7FF).ToLinear()
|
||||
);
|
||||
meshes["uiPlay"].Draw(
|
||||
mat_unlit,
|
||||
|
@ -130,7 +130,7 @@ static class Arts
|
|||
V.XYZ(0, 0, Mono.SD_Z - 0.5f + 0.1f),
|
||||
Quat.FromAngles(90, 0, 0)
|
||||
),
|
||||
Color.Hex(0x080808FF)
|
||||
Color.Hex(0x333333FF).ToLinear()
|
||||
);
|
||||
meshes["uiConfig"].Draw(
|
||||
mat_unlit,
|
||||
|
@ -138,7 +138,7 @@ static class Arts
|
|||
V.XYZ(+1.333f, 0, Mono.SD_Z - 0.5f + 0.1f),
|
||||
Quat.FromAngles(90, 0, 0)
|
||||
),
|
||||
Color.Hex(0x524B67FF)
|
||||
Color.Hex(0x928CA7FF).ToLinear()
|
||||
);
|
||||
meshes["uiCursor"].Draw(
|
||||
mat_unlit,
|
||||
|
|
Loading…
Add table
Reference in a new issue