mirror of
https://github.com/vonhyou/ray-tracer-comp371.git
synced 2025-06-08 07:22:01 +00:00
rename method names
This commit is contained in:
parent
48f00d194f
commit
fd2b57b4ae
2 changed files with 13 additions and 7 deletions
14
src/Parser.h
14
src/Parser.h
|
@ -9,15 +9,15 @@
|
|||
|
||||
class Parser {
|
||||
public:
|
||||
static Geometry *parseGeometry(const nlohmann::json &);
|
||||
static Light *parseLight(const nlohmann::json &);
|
||||
static Scene *parseScene(const nlohmann::json &);
|
||||
static Geometry *getGeometry(const nlohmann::json &);
|
||||
static Light *getLight(const nlohmann::json &);
|
||||
static Scene *getScene(const nlohmann::json &);
|
||||
|
||||
private:
|
||||
static PointLight *parsePointLight(const nlohmann::json &);
|
||||
static AreaLight *parseAreaLight(const nlohmann::json &);
|
||||
static Rectangle *parseRectangle(const nlohmann::json &);
|
||||
static Sphere *parseSphere(const nlohmann::json &);
|
||||
static PointLight *getPointLight(const nlohmann::json &);
|
||||
static AreaLight *getAreaLight(const nlohmann::json &);
|
||||
static Rectangle *getRectangle(const nlohmann::json &);
|
||||
static Sphere *getSphere(const nlohmann::json &);
|
||||
};
|
||||
|
||||
#endif // !PARSER_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue