mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
implement setters
This commit is contained in:
parent
287fdec97b
commit
f3f534a8fe
1 changed files with 8 additions and 0 deletions
|
@ -1 +1,9 @@
|
|||
#include "Light.h"
|
||||
|
||||
void Light::setTransform(const Matrix4f &transform) {
|
||||
this->transform = transform;
|
||||
}
|
||||
|
||||
void Light::setGridSize(unsigned int gridSize) { this->gridSize = gridSize; }
|
||||
|
||||
void Light::setUseCenter(bool useCenter) { this->useCenter = useCenter; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue