doc fixes, added irx load error

This commit is contained in:
Sandro Sobczyński
2020-11-03 21:48:59 +01:00
parent 9e3ed74b45
commit 52518540f3
5 changed files with 13 additions and 7 deletions
-2
View File
@@ -44,8 +44,6 @@ private:
Game *game;
s32 mainThreadId;
static void wakeup(s32 t_alarmId, u16 t_time, void *t_common);
// ThreadManager threadManager;
};
#endif
+5 -2
View File
@@ -21,7 +21,10 @@
#include <draw_sampling.h>
#include "./anim_state.hpp"
/** Class which have common types for all 3D objects */
/**
* Class which have contain 3D object data.
* External data can be loaded via loadXXX() methods.
*/
class Mesh
{
@@ -51,7 +54,7 @@ public:
/** Returns material, which is a mesh "subgroup". */
MeshMaterial &getMaterial(const u32 &i) const { return frames[0].getMaterial(i); };
/** Auto count of frames. Static object (not animated) will have only 1 frame. */
/** Count of frames. Static object (not animated) will have only 1 frame. */
const u32 &getFramesCount() const { return framesCount; };
/** Count of vertices. */
+2 -1
View File
@@ -15,7 +15,8 @@
#include "./math/vector3.hpp"
#include "./math/plane.hpp"
/** Class which contains draw instructions for part mesh of mesh.
/**
* Class which contains draw instructions for part of mesh.
* Mesh can have many materials.
* For example, car mesh can have three materials:
* body, tires and windows.
+2 -2
View File
@@ -20,8 +20,8 @@
/**
* Class which contains texture data.
* Textures are paired with meshes via addUsage(),
* removeUsage() functions which use meshId and materialId.
* Textures are paired with meshes via addLink() and
* removeLink() functions which use meshId and materialId.
*/
class MeshTexture
{