@@ -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 |
@@ -34,6 +34,7 @@ |
||
34 | 34 | * @param integer|double $x |
35 | 35 | * @param integer|double $y |
36 | 36 | * @param integer|double $z |
37 | + * @return void |
|
37 | 38 | */ |
38 | 39 | public function update(float $x = 0, float $y = 0, float $z = 0); |
39 | 40 | } |
40 | 41 | \ No newline at end of file |
@@ -37,6 +37,7 @@ |
||
37 | 37 | * @param integer|double $x |
38 | 38 | * @param integer|double $y |
39 | 39 | * @param integer|double $z |
40 | + * @return void |
|
40 | 41 | */ |
41 | 42 | public function update(float $x = 0, float $y = 0, float $z = 0); |
42 | 43 | } |
@@ -37,6 +37,7 @@ |
||
37 | 37 | * @param integer|double $x |
38 | 38 | * @param integer|double $y |
39 | 39 | * @param integer|double $z |
40 | + * @return void |
|
40 | 41 | */ |
41 | 42 | public function update(float $x = 0, float $y = 0, float $z = 0); |
42 | 43 | } |