Skip to content

Instantly share code, notes, and snippets.

@TinkerWorX
Created May 29, 2012 15:47
Show Gist options
  • Save TinkerWorX/2829163 to your computer and use it in GitHub Desktop.
Save TinkerWorX/2829163 to your computer and use it in GitHub Desktop.
...
public abstract class ImplicitModuleBase
{
public virtual Int32 Seed { get; set; }
public virtual Double Get(Double x, Double y) { return 0.00; }
public virtual Double Get(Double x, Double y, Double z) { return 0.00; }
public virtual Double Get(Double x, Double y, Double z, Double w) { return 0.00; }
public virtual Double Get(Double x, Double y, Double z, Double w, Double u, Double v) { return 0.00; }
public static implicit operator ImplicitModuleBase(Double value)
{
return new ImplicitConstant(value);
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment