浏览代码

[runtimes] Fix formatting.

Mario Zechner 4 年之前
父节点
当前提交
cd5f561739
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 1
      spine-cpp/spine-cpp/src/spine/DeformTimeline.cpp
  2. 1 1
      spine-ts/spine-webgl/src/SpineCanvas.ts

+ 2 - 1
spine-cpp/spine-cpp/src/spine/DeformTimeline.cpp

@@ -114,7 +114,8 @@ void DeformTimeline::apply(Skeleton &skeleton, float lastTime, float time, Vecto
 				}
 				}
 			}
 			}
 			case MixBlend_Replace:
 			case MixBlend_Replace:
-			case MixBlend_Add: {}
+			case MixBlend_Add: {
+			}
 		}
 		}
 		return;
 		return;
 	}
 	}

+ 1 - 1
spine-ts/spine-webgl/src/SpineCanvas.ts

@@ -119,7 +119,7 @@ export class SpineCanvas {
 	}
 	}
 
 
 	/** Clears the canvas with the given color. The color values are given in the range [0,1]. */
 	/** Clears the canvas with the given color. The color values are given in the range [0,1]. */
-	clear(r: number, g: number, b: number, a: number) {
+	clear (r: number, g: number, b: number, a: number) {
 		this.gl.clearColor(r, g, b, a);
 		this.gl.clearColor(r, g, b, a);
 		this.gl.clear(this.gl.COLOR_BUFFER_BIT);
 		this.gl.clear(this.gl.COLOR_BUFFER_BIT);
 	}
 	}