Open Source Tomb Raider Engine
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

StaticMesh.cpp 302B

123456789101112131415
  1. /*!
  2. * \file src/StaticMesh.cpp
  3. * \brief Static Model Meshes
  4. *
  5. * \author xythobuz
  6. */
  7. #include "global.h"
  8. #include "World.h"
  9. #include "StaticMesh.h"
  10. void StaticMesh::display(glm::mat4 model, glm::mat4 view, glm::mat4 projection) {
  11. getWorld().getMesh(mesh).display(model, view, projection);
  12. }