Add light probe actor

This commit is contained in:
nashmuhandes 2021-09-25 12:00:25 +08:00
commit d2b8f1aaff
8 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,31 @@
/*
** Light Probe Actor
** Copyright (c) 2021 Nash Muhandes, Magnus Norddahl
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for any purpose,
** including commercial applications, and to alter it and redistribute it
** freely, subject to the following restrictions:
**
** 1. The origin of this software must not be misrepresented; you must not
** claim that you wrote the original software. If you use this software
** in a product, an acknowledgment in the product documentation would be
** appreciated but is not required.
** 2. Altered source versions must be plainly marked as such, and must not be
** misrepresented as being the original software.
** 3. This notice may not be removed or altered from any source distribution.
*/
#include "actor.h"
#include "a_lightprobe.h"
IMPLEMENT_CLASS(ALightProbe, false, false)
void ALightProbe::Tick()
{
Super::Tick();
}

35
src/r_data/a_lightprobe.h Normal file
View file

@ -0,0 +1,35 @@
/*
** Light Probe Actor
** Copyright (c) 2021 Nash Muhandes, Magnus Norddahl
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for any purpose,
** including commercial applications, and to alter it and redistribute it
** freely, subject to the following restrictions:
**
** 1. The origin of this software must not be misrepresented; you must not
** claim that you wrote the original software. If you use this software
** in a product, an acknowledgment in the product documentation would be
** appreciated but is not required.
** 2. Altered source versions must be plainly marked as such, and must not be
** misrepresented as being the original software.
** 3. This notice may not be removed or altered from any source distribution.
*/
#ifndef __A_LIGHTPROBE_H__
#define __A_LIGHTPROBE_H__
class AActor;
class ALightProbe : public AActor
{
DECLARE_CLASS(ALightProbe, AActor)
public:
void Tick();
};
#endif //__A_LIGHTPROBE_H__