Skip to content

Commit 9c44856

Browse files
committed
Oops, this was needed for the last change.
1 parent be326f6 commit 9c44856

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

FinModelUtility/Fin/Fin/src/model/impl/VertexImpl.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,14 @@ public void SetColor(Vector4? color)
238238
color.Value.W)
239239
: null);
240240

241+
public void SetColor(Vector3? color)
242+
=> this.SetColor(color != null
243+
? FinColor.FromRgbFloats(
244+
color.Value.X,
245+
color.Value.Y,
246+
color.Value.Z)
247+
: null);
248+
241249
public void SetColor(IReadOnlyVector4? color)
242250
=> this.SetColor(color != null
243251
? FinColor.FromRgbaFloats(

0 commit comments

Comments
 (0)