mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-11 08:38:18 +03:00
32 lines
666 B
C++
32 lines
666 B
C++
/*
|
|
by korenkonder
|
|
GitHub/GitLab: korenkonder
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "../../KKdLib/default.hpp"
|
|
#include "../../KKdLib/light_param/face.hpp"
|
|
#include "../../KKdLib/vec.hpp"
|
|
#include "../static_var.hpp"
|
|
|
|
struct face {
|
|
float_t offset;
|
|
float_t scale;
|
|
vec3 position;
|
|
vec3 direction;
|
|
|
|
face();
|
|
|
|
float_t get_offset();
|
|
void set_offset(float_t value);
|
|
float_t get_scale();
|
|
void set_scale(float_t value);
|
|
void get_position(vec3& value);
|
|
void set_position(vec3& value);
|
|
void set_position(vec3&& value);
|
|
void get_direction(vec3& value);
|
|
void set_direction(vec3& value);
|
|
void set_direction(vec3&& value);
|
|
};
|