Return to the Change Log index.
The following are API-breaking, in that a new optional parameter has been inserted prior to the output parameter. If you use any of the following functions, please update your code:
Geom.Intersects.GetLineToLine
method has a new optional parameter isRay
. If true
it will treat the first line parameter as a ray, if false, as a line segment (the default).Geom.Intersects.GetLineToPoints
method has a new optional parameter isRay
. If true
it will treat the line parameter as a ray, if false, as a line segment (the default).Geom.Intersects.GetLineToPolygon
method has a new optional parameter isRay
. If true
it will treat the line parameter as a ray, if false, as a line segment (the default).Geom.Intersects.GetRaysFromPointToPolygon
uses the new isRay
parameter to enable this function to work fully again.Geom.Intersects.LineToLine
will no longer create an internal Point
object, as it's not required internally (thanks @Trissolo)Geom.Intersects.GetLineToLine
function that would fail with colinear lines (thanks @Skel0t)Curves.Path.getCurveAt
is a new method that will return the curve that forms the path at the given location (thanks @natureofcode)Path.fromJSON
function would use the wrong name for a Quadratic Bezier curve class, meaning it would be skipped in the exported JSON. It's now included correctly (thanks @natureofcode)Return to the Change Log index.
📖 Read the Phaser 3 API Docs 💻 Browse 2000+ Code Examples 🤝 Join the awesome Phaser Discord
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )