/********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #pragma once #ifndef _MGDIRECTIONAL_LIGHT_HH_ #define _MGDIRECTIONAL_LIGHT_HH_ #include "mgGL/Light.h" class MGOfstream; class MGIfstream; class MGVector; /** @addtogroup GLAttrib * @{ */ ///MGDirectionalLight is a directional light source that approximates infinite light sources as the sun. ///MGDirectionalLight can improve rendering performance over other local light sources, ///such as MGPointLight and MGSpotLight. Use MGDirectionalLight to set the direction ///of general lighting for a scene. class MG_DLL_DECLR MGDirectionalLight : public MGLight{ public: ///////////// Constructors & destructor ///////////// MGDirectionalLight(); MGDirectionalLight( float intensity, ///