fixed typos
This commit is contained in:
@@ -10,11 +10,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../../loader.hpp"
|
||||
#include "../builder/mesh_builder_data.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
/** Class responsible for loading&parsing Quake's II ".md2" 3D files */
|
||||
/** Class responsible for loading & parsing Quake's II ".md2" 3D files */
|
||||
class MD2Loader : public Loader {
|
||||
public:
|
||||
MD2Loader();
|
||||
|
||||
@@ -29,7 +29,7 @@ struct TyraobjReadInfo {
|
||||
s16 materialsI;
|
||||
};
|
||||
|
||||
/** Class responsible for loading&parsing custom Tyra obj files */
|
||||
/** Class responsible for loading & parsing custom Tyra obj files */
|
||||
class TyrobjLoader : public Loader {
|
||||
public:
|
||||
TyrobjLoader();
|
||||
|
||||
@@ -199,9 +199,9 @@ StaticMesh* getStaticMesh(Renderer* renderer) {
|
||||
StaticMesh* getSkybox(Renderer* renderer) {
|
||||
TyrobjLoader loader;
|
||||
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);
|
||||
result->translation.translateZ(-30.0F);
|
||||
// result->translation.translateZ(-30.0F);
|
||||
delete data;
|
||||
|
||||
renderer->core.texture.repository.addByMesh(
|
||||
|
||||
Reference in New Issue
Block a user