for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/** @formatter:off
* ******************************************************************
* Created by Marko Kungla on Jun 21, 2016 - 12:35:01 PM
* Contact [email protected]
* @copyright 2016 Marko Kungla - https://github.com/mkungla
* @license The MIT License (MIT)
*
* @category AframeVR
* @package aframe-php
* Lang PHP (php version >= 7)
* Encoding UTF-8
* File Sky.php
* Code format PSR-2 and 12
* @link https://github.com/mkungla/aframe-php
* @issues https://github.com/mkungla/aframe-php/issues
* ********************************************************************
* Contributors:
* @author Marko Kungla <[email protected]>
* Comments:
* @formatter:on */
namespace AframeVR\Extras\Primitives;
use \AframeVR\Extras\Primitives\Sphere;
use \AframeVR\Interfaces\EntityInterface;
final class Sky extends Sphere implements EntityInterface
{
/**
* Reset <a-sky>
* The sky primitive adds a background to a scene or display a 360-degree photo.
* It is an entity that prescribes a large sphere with the material mapped to the inside.
* @return void
*/
public function reset()
parent::reset();
$this->radius(100);
$this->segmentsHeight(20);
$this->segmentsWidth(64);
}