doc fixes, added irx load error
This commit is contained in:
@@ -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. */
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user