25 lines
655 B
Rust
25 lines
655 B
Rust
use crate::Arena;
|
|
use anyhow::Result;
|
|
use shared::{textures::WrinkledTexture, utils::Transform};
|
|
|
|
use crate::{
|
|
core::texture::{CreateFloatTexture, FloatTexture, FloatTextureTrait},
|
|
utils::{FileLoc, TextureParameterDictionary},
|
|
};
|
|
|
|
impl CreateFloatTexture for WrinkledTexture {
|
|
fn create(
|
|
_render_from_texture: Transform,
|
|
_parameters: TextureParameterDictionary,
|
|
_loc: FileLoc,
|
|
_arena: &Arena,
|
|
) -> Result<FloatTexture> {
|
|
todo!()
|
|
}
|
|
}
|
|
|
|
impl FloatTextureTrait for WrinkledTexture {
|
|
fn evaluate(&self, _ctx: &shared::core::texture::TextureEvalContext) -> shared::Float {
|
|
todo!()
|
|
}
|
|
}
|