浏览代码

Fix to directional Light

PirateJC 5 年之前
父节点
当前提交
5ead8051e9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Playground/templates.json

+ 1 - 1
Playground/templates.json

@@ -32,7 +32,7 @@
   {
     "label" : "Create a directional light",
     "documentation" : "https://doc.babylonjs.com/babylon101/lights#the-directional-light",
-    "insertText" : "var dirLight = new BABYLON.DirectionalLight(\"${1:dirLight}\", new BABYLON.Vector3(${2:0.25},${3:-1},${4:-0.25})}, scene);",
+    "insertText" : "var dirLight = new BABYLON.DirectionalLight(\"${1:dirLight}\", new BABYLON.Vector3(${2:0.25},${3:-1},${4:-0.25}), scene);",
     "language" : "javascript"
   },
   {