fixed typos
This commit is contained in:
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "../../loader.hpp"
|
||||||
|
#include "../builder/mesh_builder_data.hpp"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Tyra {
|
namespace Tyra {
|
||||||
|
|||||||
@@ -199,9 +199,9 @@ StaticMesh* getStaticMesh(Renderer* renderer) {
|
|||||||
StaticMesh* getSkybox(Renderer* renderer) {
|
StaticMesh* getSkybox(Renderer* renderer) {
|
||||||
TyrobjLoader loader;
|
TyrobjLoader loader;
|
||||||
auto* data =
|
auto* data =
|
||||||
loader.load(FileUtils::fromCwd("skybox/skybox.tyrobj"), 1, 50.0F, true);
|
loader.load(FileUtils::fromCwd("skybox/skybox.tyrobj"), 1, 200.0F, true);
|
||||||
auto* result = new StaticMesh(*data);
|
auto* result = new StaticMesh(*data);
|
||||||
result->translation.translateZ(-30.0F);
|
// result->translation.translateZ(-30.0F);
|
||||||
delete data;
|
delete data;
|
||||||
|
|
||||||
renderer->core.texture.repository.addByMesh(
|
renderer->core.texture.repository.addByMesh(
|
||||||
|
|||||||
Reference in New Issue
Block a user