mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
add geometry parser
This commit is contained in:
parent
a42eae91de
commit
9f63434b12
2 changed files with 56 additions and 2 deletions
|
@ -16,8 +16,12 @@ public:
|
|||
private:
|
||||
static PointLight *getPointLight(const nlohmann::json &);
|
||||
static AreaLight *getAreaLight(const nlohmann::json &);
|
||||
static Rectangle *getRectangle(const nlohmann::json &);
|
||||
static Sphere *getSphere(const nlohmann::json &);
|
||||
static Rectangle *getRectangle(const nlohmann::json &, float, float, float,
|
||||
const Vector3f &, const Vector3f &,
|
||||
const Vector3f &, float);
|
||||
static Sphere *getSphere(const nlohmann::json &, float, float, float,
|
||||
const Vector3f &, const Vector3f &, const Vector3f &,
|
||||
float);
|
||||
};
|
||||
|
||||
#endif // !PARSER_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue