This is very cool, however I have a few function requests:
function RB_createBox(int id, float x, float y, float z, float x1, float y1, float z1, float x2, float y2, float z2)
Creates a simple parallelepiped at the position x y z, with the size x1 y1 z1 to x2 y2 z2 with ID id.
(also a similar function for creating simple hitmodels)
(if possible make similar functions for other simple geometric shapes)
function RB_changeColor(int id, float r, float g, float b)
Changes the colour of id's texture toare g b. a changes the alpha (trasparency).
Inputting id 255 255 255 255 changes the back to how it was originally coloured.
function RB_createLine(int id, float x1, float y1, float z1, float x2, float y2, float z2, float thickness)
Creates a visible line from point x1 y1 z1 to x2 y2 z2 with thickness thickness. Make it possible to change the colour.
I'm not exactly sure how to call it, but add a function that allows to change if an object is affected by lights or not (if not, it should always be at full brightness).
Also, a function that enables "wireframe" mode.
function RB_createBox(int id, float x, float y, float z, float x1, float y1, float z1, float x2, float y2, float z2)
Creates a simple parallelepiped at the position x y z, with the size x1 y1 z1 to x2 y2 z2 with ID id.
(also a similar function for creating simple hitmodels)
(if possible make similar functions for other simple geometric shapes)
function RB_changeColor(int id, float r, float g, float b)
Changes the colour of id's texture toare g b. a changes the alpha (trasparency).
Inputting id 255 255 255 255 changes the back to how it was originally coloured.
function RB_createLine(int id, float x1, float y1, float z1, float x2, float y2, float z2, float thickness)
Creates a visible line from point x1 y1 z1 to x2 y2 z2 with thickness thickness. Make it possible to change the colour.
I'm not exactly sure how to call it, but add a function that allows to change if an object is affected by lights or not (if not, it should always be at full brightness).
Also, a function that enables "wireframe" mode.