d
This commit is contained in:
@@ -301,9 +301,9 @@ Namespace ObjModule
|
||||
Case line.ToLower.StartsWith("kd ")
|
||||
Dim splitColor() As String = line.Substring(3).Split(" "c)
|
||||
Dim col As Color = Color.FromArgb(
|
||||
Convert.ToSingle(Math.Round(255 * splitColor(0))),
|
||||
Convert.ToSingle(Math.Round(255 * splitColor(1))),
|
||||
Convert.ToSingle(Math.Round(255 * splitColor(2))))
|
||||
Convert.ToSingle(Math.Round(CInt(splitColor(0)))),
|
||||
Convert.ToSingle(Math.Round(CInt(splitColor(1)))),
|
||||
Convert.ToSingle(Math.Round(CInt(splitColor(2)))))
|
||||
curMat.Color = col
|
||||
|
||||
Case line.ToLower.StartsWith("d ")
|
||||
|
||||
Reference in New Issue
Block a user