Browse Source

Minor, renaming defaultUnitCapsule

clementlandrin 1 year ago
parent
commit
ad715e533e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h3d/prim/Capsule.hx

+ 1 - 1
h3d/prim/Capsule.hx

@@ -99,7 +99,7 @@ class Capsule extends Polygon {
 	override function addNormals() {
 	}
 
-	public static function defaultUnitSphere() {
+	public static function defaultUnitCapsule() {
 		var engine = h3d.Engine.getCurrent();
 		var s : Capsule = @:privateAccess engine.resCache.get(Capsule);
 		if( s != null )