Docs.rs
  • saft-sdf-0.2.0
    • saft-sdf 0.2.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • embark-studios
    • Dependencies
      • arbitrary ^1 normal
      • macaw ^0.18.0 normal
      • num-traits ^0.2.14 normal
      • num_enum ^0.7.0 normal
      • serde ^1.0.104 normal
      • speedy ^0.8 normal
    • Versions
    • 33.33% 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

Crate saft_sdf

  • Version 0.2.0
  • All Items
  • Structs
  • Enums
  • Traits
  • Functions
?
Change settings

Crate saft_sdf

source ·
Expand description

Signed distance field function utilities and interpreter

Structs

  • Interpreter
  • InterpreterContext
  • Material
  • RgbWithDistance
    r, g, b, distance

Enums

  • Opcode
    Assembly. Lower level representation.

Traits

  • SignedDistance

Functions

  • get_glsl_sdf_interpreter_code
  • get_glsl_sdf_library_code
  • sd_biconvex_lens
  • sd_capsule
  • sd_cone
  • sd_cone_f
    Base at origin, with height h along positive Y.
  • sd_material
  • sd_op_intersect
  • sd_op_intersect_smooth
  • sd_op_subtract
  • sd_op_subtract_smooth
  • sd_op_union
  • sd_op_union_smooth
  • sd_plane
  • sd_rounded_box
  • sd_rounded_cylinder
  • sd_rounded_cylinder_f
  • sd_sphere
  • sd_tapered_capsule
  • sd_tapered_capsule_f
  • sd_torus
  • sd_torus_sector