MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / Entity

Method Entity

src/Scene/Entity.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "Entity.h"
7
8Entity::Entity(uint32_t parent_trackblock_id, uint32_t entity_id, NFSVer nfs_version, EntityType entity_type, EngineModel gl_mesh) {
9 tag = nfs_version;
10 type = entity_type;
11 glMesh = gl_mesh;
12 parentTrackblockID = parent_trackblock_id;
13 entityID = entity_id;
14}
15
16void Entity::genPhysicsMesh(){
17 if(type == LIGHT){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected