grey hangar with linear color space conversion on hex color inputs

This commit is contained in:
ethan merchant 2024-11-25 14:11:30 -05:00
parent 67b6cd40e8
commit d113460fea
2 changed files with 7 additions and 7 deletions

View file

@ -2,8 +2,8 @@
<manifest <manifest
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dofdev.snake" package="com.dofdev.snake"
android:versionCode="45" android:versionCode="46"
android:versionName="1.49" android:versionName="1.50"
android:installLocation="auto" android:installLocation="auto"
> >
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" /> <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" />

View file

@ -91,13 +91,13 @@ static class Arts
Lines.Add( Lines.Add(
box_m4 * V.XYZ(0, Mono.SD_Y - 0.5f, 0), 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), 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 1.0f * U.mm
); );
Lines.Add( 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, -box_head_dist),
Rig.head.position + Rig.head.orientation * V.XYZ(0, 6 * U.cm, 0), Rig.head.position + Rig.head.orientation * V.XYZ(0, 6 * U.cm, 0),
Color.White, Color.Hex(0x808080FF).ToLinear(),
1.0f * U.mm 1.0f * U.mm
); );
} }
@ -122,7 +122,7 @@ static class Arts
V.XYZ(-1.333f, 0, Mono.SD_Z - 0.5f + 0.1f), V.XYZ(-1.333f, 0, Mono.SD_Z - 0.5f + 0.1f),
Quat.FromAngles(90, 0, 0) Quat.FromAngles(90, 0, 0)
), ),
Color.Hex(0x524B67FF) Color.Hex(0x928CA7FF).ToLinear()
); );
meshes["uiPlay"].Draw( meshes["uiPlay"].Draw(
mat_unlit, mat_unlit,
@ -130,7 +130,7 @@ static class Arts
V.XYZ(0, 0, Mono.SD_Z - 0.5f + 0.1f), V.XYZ(0, 0, Mono.SD_Z - 0.5f + 0.1f),
Quat.FromAngles(90, 0, 0) Quat.FromAngles(90, 0, 0)
), ),
Color.Hex(0x080808FF) Color.Hex(0x333333FF).ToLinear()
); );
meshes["uiConfig"].Draw( meshes["uiConfig"].Draw(
mat_unlit, mat_unlit,
@ -138,7 +138,7 @@ static class Arts
V.XYZ(+1.333f, 0, Mono.SD_Z - 0.5f + 0.1f), V.XYZ(+1.333f, 0, Mono.SD_Z - 0.5f + 0.1f),
Quat.FromAngles(90, 0, 0) Quat.FromAngles(90, 0, 0)
), ),
Color.Hex(0x524B67FF) Color.Hex(0x928CA7FF).ToLinear()
); );
meshes["uiCursor"].Draw( meshes["uiCursor"].Draw(
mat_unlit, mat_unlit,