Docs.rs
  • saft-sdf-0.2.1
    • saft-sdf 0.2.1
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • embark-studios
    • Dependencies
      • arbitrary ^1 normal optional
      • macaw ^0.19.0 normal
      • num-traits ^0.2.14 normal
      • num_enum ^0.7.0 normal optional
      • serde ^1.0.104 normal optional
      • speedy ^0.8 normal optional
    • Versions
    • 9.76% of the crate is documented
  • 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
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

saft_sdf0.2.1

  • All Items

Crate Items

  • Structs
  • Enums
  • Traits
  • Functions

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