Implementation of AssetLoader — Assimp scene import and mesh extraction.
More...
#include "AssetLoader.hpp"
#include "Asset.hpp"
#include "glm/ext/scalar_common.hpp"
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <filesystem>
#include <glm/gtc/quaternion.hpp>
#include <iostream>
#include <stack>
#include <stb_image.h>
#include <unordered_map>
#include <vector>
Implementation of AssetLoader — Assimp scene import and mesh extraction.
◆ hasMetadataKey()
| bool hasMetadataKey |
( |
const aiNode & | node, |
|
|
const std::string & | keyToFind ) |
|
static |
◆ isCollisionOnlyName()
| bool isCollisionOnlyName |
( |
const std::string & | name | ) |
|
|
static |
◆ isMuzzleMarkerName()
| bool isMuzzleMarkerName |
( |
const std::string & | name | ) |
|
|
static |
◆ isWeaponMountPointName()
| bool isWeaponMountPointName |
( |
const std::string & | nodeName | ) |
|
|
static |
◆ nodeUsesMuzzleMarkerMesh()
| bool nodeUsesMuzzleMarkerMesh |
( |
const aiNode & | node, |
|
|
const aiScene & | scene ) |
|
static |
◆ readAiColor()
| bool readAiColor |
( |
aiMaterial & | material, |
|
|
const char * | key, |
|
|
unsigned int | type, |
|
|
unsigned int | index, |
|
|
glm::vec3 & | out ) |
◆ rotationFromTransform()
| glm::quat rotationFromTransform |
( |
const glm::mat4 & | transform | ) |
|