mirror of
https://github.com/aap/librw.git
synced 2025-12-18 16:39:51 +00:00
small stuff
This commit is contained in:
12
src/rwbase.h
12
src/rwbase.h
@@ -262,6 +262,18 @@ inline void convMatrix(RawMatrix *dst, Matrix *src){
|
||||
dst->posw = 1.0;
|
||||
}
|
||||
|
||||
struct Line
|
||||
{
|
||||
V3d start;
|
||||
V3d end;
|
||||
};
|
||||
|
||||
struct Rect
|
||||
{
|
||||
int32 h, w;
|
||||
int32 x, y;
|
||||
};
|
||||
|
||||
struct Sphere
|
||||
{
|
||||
V3d center;
|
||||
|
||||
Reference in New Issue
Block a user