mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Update LightsFactory.cpp
This commit is contained in:
@@ -12,7 +12,7 @@ void LightsHeaderExporter::Export(std::ostream &write, std::shared_ptr<IParsedDa
|
||||
return;
|
||||
}
|
||||
|
||||
write << "extern Lights " << symbol << ";\n";
|
||||
write << "extern Lights1 " << symbol << ";\n";
|
||||
}
|
||||
|
||||
void LightsCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) {
|
||||
@@ -100,4 +100,4 @@ std::optional<std::shared_ptr<IParsedData>> LightsFactory::parse(std::vector<uin
|
||||
lights = {r, g, b, 0, 0, 0, 0, 0, r2, g2, b2, 0, 0, 0, 0, 0, x, y, z};
|
||||
|
||||
return std::make_shared<LightsData>(lights);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user