Skip to content

Commit 9063a98

Browse files
committed
fix typos on ToString
1 parent d506239 commit 9063a98

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

OSVR-Unity/Assets/OSVRUnity/src/DisplayInterface.cs

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,26 @@ public DeviceDescriptor GetDeviceDescription()
9999
//print
100100
StringBuilder jsonPrinter = new StringBuilder(64);
101101
jsonPrinter.Append("FIELD OF VIEW:\n")
102-
.Append("monocular_horizontal = ").AppendLine( monocularHorizontal.toString() )
103-
.Append("monocular_vertical = ").AppendLine( monocularVertical.toString() )
104-
.Append("overlap_percent = ").AppendLine( overlapPercent.toString() )
105-
.Append("pitch_tilt = ").AppendLine( pitchTilt.toString() )
102+
.Append("monocular_horizontal = ").AppendLine( monocularHorizontal.ToString() )
103+
.Append("monocular_vertical = ").AppendLine( monocularVertical.ToString() )
104+
.Append("overlap_percent = ").AppendLine( overlapPercent.ToString() )
105+
.Append("pitch_tilt = ").AppendLine( pitchTilt.ToString() )
106106
.Append("\nRESOLUTION\n")
107-
.Append("width = ").AppendLine( width.toString() )
108-
.Append("height = ").AppendLine( height.toString() )
109-
.Append("video_inputs = ").AppendLine( videoInputs.toString() )
107+
.Append("width = ").AppendLine( width.ToString() )
108+
.Append("height = ").AppendLine( height.ToString() )
109+
.Append("video_inputs = ").AppendLine( videoInputs.ToString() )
110110
.Append("display_mode = ").AppendLine( displayMode )
111111
.Append("\nDISTORTION\n")
112-
.Append("k1_red = ").AppendLine( k1Red.toString() )
113-
.Append("k1_green = ").AppendLine( k1Green.toString() )
114-
.Append("k1_blue = ").AppendLine( k1Blue.toString() )
112+
.Append("k1_red = ").AppendLine( k1Red.ToString() )
113+
.Append("k1_green = ").AppendLine( k1Green.ToString() )
114+
.Append("k1_blue = ").AppendLine( k1Blue.ToString() )
115115
.Append("\nRENDERING\n")
116-
.Append("left_roll = ").AppendLine( leftRoll.toString() )
117-
.Append("right_roll = ").AppendLine( rightRoll.toString() )
116+
.Append("left_roll = ").AppendLine( leftRoll.ToString() )
117+
.Append("right_roll = ").AppendLine( rightRoll.ToString() )
118118
.Append("\nEYES\n")
119-
.Append("center_proj_x = ").AppendLine( centerProjX.toString() )
120-
.Append("center_proj_y = ").AppendLine( centerProjY.toString() )
121-
.Append("rotate_180 = ").AppendLine( rotate180.toString() );
122-
Debug.Log("Parsed " + JsonDescriptorFile.name + ".json:\n" + jsonPrinter.ToString());
119+
.Append("center_proj_x = ").AppendLine( centerProjX.ToString() )
120+
.Append("center_proj_y = ").AppendLine( centerProjY.ToString() )
121+
.Append("rotate_180 = ").AppendLine( rotate180.ToString() );
123122
Debug.Log("Parsed " + JsonDescriptorFile.name + ".json:\n" + jsonPrinter.ToString());
124123

125124
//create a device descriptor object and store the parsed json

0 commit comments

Comments
 (0)