playcanvas/engine

Rectangle - with position, orientation and size that can be intersected with Ray and other Shapes.

Open

#889 opened on 2017年3月27日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)JavaScript (8,878 stars) (1,325 forks)batch import
enhancementgood first issue

説明

Like with BoundingBox and few other shapes, it would be good to have a rectangle, that is much simpler shape than box, and would be useful in many cases.

It would have position, rotation and size (not halfExtents please). And would have functionality to check if it intersects with ray or other shapes.

コントリビューターガイド

Rectangle - with position, orientation and size that can be intersected with Ray and other Shapes. · playcanvas/engine#889 | Good First Issue