diff options
| author | Marc Palau <sucdepressec@gmail.com> | 2015-03-02 20:52:58 +0100 |
|---|---|---|
| committer | Marc Palau <sucdepressec@gmail.com> | 2015-03-02 20:52:58 +0100 |
| commit | 3cad094edd94f859540b16bbdafcf2cfb9d02016 (patch) | |
| tree | b39a6af536d03e8c4726c791bf966debfe8cd5be /src/rlgl.h | |
| parent | c062f8d4fe3b600ea63a7a7f783963cf3d6aca84 (diff) | |
| download | raylib-3cad094edd94f859540b16bbdafcf2cfb9d02016.tar.gz raylib-3cad094edd94f859540b16bbdafcf2cfb9d02016.zip | |
Changes integration (some WIP, view details)
Corrected GetMouseWheelMove()
Corrected camera system
Reviewed cubicmap resolution (collision detection)
Added QuaternionTransform()
WIP: Raycast system (not working)
WIP: Reviewing axis-angle rotations...
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -192,6 +192,7 @@ void rlglClose(void); // De-init rlgl void rlglDraw(void); // Draw VAO/VBO void rlglDrawPostpro(unsigned int shaderId); // Draw with postpro shader void rlglInitGraphics(int offsetX, int offsetY, int width, int height); // Initialize Graphics (OpenGL stuff) +Vector3 rlglUnproject(Vector3 source, Matrix proj, Matrix view); // Get world coordinates from screen coordinates unsigned int rlglLoadTexture(unsigned char *data, int width, int height, int colorMode, bool genMipmaps); // Load in GPU OpenGL texture unsigned int rlglLoadCompressedTexture(unsigned char *data, int width, int height, int mipmapCount, int format); @@ -200,7 +201,7 @@ unsigned int rlglLoadShader(char *vShaderStr, char *fShaderStr); // Load a shade #endif Model rlglLoadModel(VertexData mesh); // Upload vertex data into GPU and provided VAO/VBO ids -void rlglDrawModel(Model model, Vector3 position, Vector3 rotation, Vector3 scale, Color color, bool wires); +void rlglDrawModel(Model model, Vector3 position, float rotationAngle, Vector3 rotationAxis, Vector3 scale, Color color, bool wires); byte *rlglReadScreenPixels(int width, int height); // Read screen pixel data (color buffer) |
