mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-14 10:17:20 +01:00
17 lines
333 B
C++
17 lines
333 B
C++
|
#include "voxel_light.h"
|
||
|
|
||
|
VoxelLight::VoxelLight() {
|
||
|
}
|
||
|
|
||
|
VoxelLight::VoxelLight(Vector3i position, Color color, float strength, Vector3 WorldPosition, Vector3 offset) {
|
||
|
|
||
|
_world_position = WorldPosition + offset;
|
||
|
_local_position = position;
|
||
|
_offset = offset;
|
||
|
_color = color;
|
||
|
_strength = strength;
|
||
|
}
|
||
|
|
||
|
VoxelLight::~VoxelLight() {
|
||
|
}
|