Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_SunBeamsOperation.h
| Show All 9 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2014, Blender Foundation. | * Copyright 2014, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_SUNBEAMSOPERATION_H__ | #pragma once | ||||
| #define __COM_SUNBEAMSOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| class SunBeamsOperation : public NodeOperation { | class SunBeamsOperation : public NodeOperation { | ||||
| public: | public: | ||||
| SunBeamsOperation(); | SunBeamsOperation(); | ||||
| void executePixel(float output[4], int x, int y, void *data); | void executePixel(float output[4], int x, int y, void *data); | ||||
| Show All 12 Lines | public: | ||||
| } | } | ||||
| private: | private: | ||||
| NodeSunBeams m_data; | NodeSunBeams m_data; | ||||
| float m_source_px[2]; | float m_source_px[2]; | ||||
| float m_ray_length_px; | float m_ray_length_px; | ||||
| }; | }; | ||||
| #endif | |||||