Docs.rs
  • fyrox-core-0.23.0
    • fyrox-core 0.23.0
    • Docs.rs crate page
    • MIT
    • 08 January 2023
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • mrDIMAS
    • Dependencies
      • arrayvec ^0.7.2 normal
      • base64 ^0.20.0 normal
      • bitflags ^1.3.2 normal
      • byteorder ^1.4.3 normal
      • futures ^0.3.17 normal
      • fxhash ^0.2.1 normal
      • fyrox-core-derive ^0.18.0 normal
      • instant ^0.1.12 normal
      • lazy_static ^1.4.0 normal
      • memoffset ^0.8.0 normal
      • nalgebra ^0.31.0 normal
      • num-traits ^0.2.14 normal
      • parking_lot ^0.12.0 normal
      • rand ^0.8.4 normal
      • uuid ^1 normal
      • js-sys ^0.3.53 normal
      • wasm-bindgen ^0.2.76 normal
      • wasm-bindgen-futures ^0.4.26 normal
      • web-sys ^0.3.53 normal
    • Versions
    • 24.1% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module math

  • Modules
  • Structs
  • Enums
  • Traits
  • Functions
?
Change settings

Module fyrox_core::math

source ·

Modules

aabb
frustum
plane
ray
triangulator

Structs

Rect
SmoothAngle
TriangleDefinition
TriangleEdge

Enums

PlaneClass
RotationOrder

Traits

Matrix3Ext
Matrix4Ext
PositionProvider
Vector2Ext
Vector3Ext

Functions

barycentric_is_inside
barycentric_to_world
classify_plane
cubicf
cubicf_derivative
get_barycentric_coords
get_barycentric_coords_2d
get_closest_point
Tries to find a point closest to given point.
get_closest_point_triangle_set
get_closest_point_triangles
get_farthest_point
get_polygon_normal
get_signed_triangle_area
ieee_remainder
There are two versions of remainder, the standard % operator which does x - (x/y).trunc()*y and IEEE remainder which does x - (x/y).round()*y.
inf_sup_cubicf
is_point_inside_2d_triangle
is_point_inside_triangle
lerpf
m4x4_approx_eq
quat_from_euler
ray_rect_intersection
round_to_step
solve_quadratic
spherical_to_cartesian
triangle_area
vec3_to_vec2_by_plane
vector_to_quat
Returns rotation quaternion that represents rotation basis with Z axis aligned on vec. This function handles singularities for you.
wrap_angle
wrapf