1 | <?php |
||
26 | class PlaneMethods |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * The plane primitive defines a flat surface. |
||
31 | * Note that because it is flat, |
||
32 | * only a single side of the plane will be rendered if side: double is not specified on the material component. |
||
33 | */ |
||
34 | const DEFAULTS = array( |
||
35 | /* Width along the X axis. */ |
||
36 | 'width' => 1, |
||
37 | /* Height along the Y axis. */ |
||
38 | 'height' => 1 |
||
39 | ); |
||
40 | |||
41 | /** |
||
42 | * Height along the Y axis. |
||
43 | * |
||
44 | * @param &array $dom_attributes |
||
|
|||
45 | * @param float|int $height |
||
46 | * @return void |
||
47 | */ |
||
48 | 6 | public function height(array &$dom_attributes, float $height) |
|
52 | |||
53 | /** |
||
54 | * Width along the X axis. |
||
55 | * |
||
56 | * @param &array $dom_attributes |
||
57 | * @param float|int $width |
||
58 | * @return void |
||
59 | */ |
||
60 | 6 | public function width(array &$dom_attributes, float $width) |
|
64 | } |
||
65 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.