@@ -28,12 +28,14 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * Primitve init called from entir=ty constructor must load all components for this primitive |
| 30 | 30 | * Ex: $this->component('Position') |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function init(); |
| 33 | 34 | |
| 34 | 35 | /** |
| 35 | 36 | * Defaults method is called in primitvie constructor to set |
| 36 | 37 | * primitives default values for loaded components. |
| 38 | + * @return void |
|
| 37 | 39 | */ |
| 38 | 40 | public function defaults(); |
| 39 | 41 | } |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | /** |
| 68 | 68 | * material.roughness |
| 69 | 69 | * |
| 70 | - * @param string $roughness |
|
| 70 | + * @param double $roughness |
|
| 71 | 71 | * @return \AframeVR\Interfaces\PrimitiveInterface |
| 72 | 72 | */ |
| 73 | 73 | public function roughness($roughness = 0.5): PrimitiveInterface |