|
GlistEngine
|
#include <gRay.h>


Public Member Functions | |
| gRay () | |
| gRay (const glm::vec3 &originPoint, const glm::vec3 &directionVector) | |
| virtual | ~gRay () |
| void | setOrigin (const glm::vec3 &originPoint) |
| void | setDirection (const glm::vec3 &directionVector) |
| const glm::vec3 & | getOrigin () |
| const glm::vec3 | getDirection () |
| float | getLength () const |
| bool | intersects (gBoundingBox &boundingBox) |
| float | distance (gBoundingBox &boundingBox) |
| void | link (gMesh *mesh, float rayScale=1.0f, bool isNormalized=false, float dx=0.0f, float dy=0.0f, float dz=0.0f) |
| void | unlink () |
| void | draw () |
Public Member Functions inherited from gRenderObject | |
| gRenderObject () | |
| int | getScreenWidth () |
| int | getScreenHeight () |
| void | pushMatrix () |
| void | popMatrix () |
Public Member Functions inherited from gObject | |
| gObject () | |
| void | logi (std::string message) |
| void | logd (std::string message) |
| void | logw (std::string message) |
| void | loge (std::string message) |
| void | logi (std::string tag, std::string message) |
| void | logd (std::string tag, std::string message) |
| void | logw (std::string tag, std::string message) |
| void | loge (std::string tag, std::string message) |
Additional Inherited Members | |
Static Public Member Functions inherited from gRenderObject | |
| static void | setScreenSize (int screenWidth, int screenHeight) |
| static void | setUnitScreenSize (int unitWidth, int unitHeight) |
| static void | setScreenScaling (int screenScaling) |
| static void | enableShadowMapping () |
| static void | disableShadowMapping () |
| static bool | isShadowMappingEnabled () |
| static gRenderer * | getRenderer () |
| static void | destroyRenderer () |
| static void | createRenderer () |
Static Public Member Functions inherited from gObject | |
| static std::string | gGetAppDir () |
| static std::string | gGetAssetsDir () |
| static void | gSetAssetsDir (std::string assetsDir) |
| static std::string | gGetFilesDir () |
| static std::string | gGetImagesDir () |
| static std::string | gGetFontsDir () |
| static std::string | gGetModelsDir () |
| static std::string | gGetTexturesDir () |
| static std::string | gGetShadersDir () |
| static std::string | gGetSoundsDir () |
| static std::string | gGetDatabasesDir () |
| static std::string | gGetVideosDir () |
| static void | setCurrentResolution (int scalingNo, int currentResolutionNo) |
Static Public Attributes inherited from gObject | |
| static const int | LOGLEVEL_SILENT |
| static const int | LOGLEVEL_DEBUG |
| static const int | LOGLEVEL_INFO |
| static const int | LOGLEVEL_WARNING |
| static const int | LOGLEVEL_ERROR |
Static Protected Attributes inherited from gRenderObject | |
| static bool | isshadowmappingenabled |
Static Protected Attributes inherited from gObject | |
| static int | renderpassnum |
| static int | renderpassno |
| static int | releasescaling |
| static int | releaseresolution |
| gRay::gRay | ( | ) |
| gRay::gRay | ( | const glm::vec3 & | originPoint, |
| const glm::vec3 & | directionVector | ||
| ) |
|
virtual |
| float gRay::distance | ( | gBoundingBox & | boundingBox | ) |
| void gRay::draw | ( | ) |
| const glm::vec3 gRay::getDirection | ( | ) |
| float gRay::getLength | ( | ) | const |
| const glm::vec3 & gRay::getOrigin | ( | ) |
| bool gRay::intersects | ( | gBoundingBox & | boundingBox | ) |
| void gRay::link | ( | gMesh * | mesh, |
| float | rayScale = 1.0f, |
||
| bool | isNormalized = false, |
||
| float | dx = 0.0f, |
||
| float | dy = 0.0f, |
||
| float | dz = 0.0f |
||
| ) |
| void gRay::setDirection | ( | const glm::vec3 & | directionVector | ) |
| void gRay::setOrigin | ( | const glm::vec3 & | originPoint | ) |
| void gRay::unlink | ( | ) |