mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-12-07 04:51:00 +01:00
Cleaning up maths: part 3.
Demangled methods, vectors args by ref, added comments, more accurate ray_intersect_line.
This commit is contained in:
parent
2d0da712e3
commit
fdf1f6c9f1
21 changed files with 296 additions and 356 deletions
|
|
@ -59,7 +59,7 @@ TPinballComponent::TPinballComponent(TPinballTable* table, int groupIndex, bool
|
|||
tmpRect.YPosition = bmp->YPosition - table->YOffset;
|
||||
tmpRect.Width = bmp->Width;
|
||||
tmpRect.Height = bmp->Height;
|
||||
maths::enclosing_box(&bmp1Rect, &tmpRect, &bmp1Rect);
|
||||
maths::enclosing_box(bmp1Rect, tmpRect, bmp1Rect);
|
||||
}
|
||||
|
||||
RenderSprite = render::create_sprite(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue