All pastes #906239 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-02-16 14:43 UTC
rendered paste body
[return: MarshalAs(UnmanagedType.U1)]
private bool IsValid()
{
    int num;
    if (((this.Restitution >= 0f) && (this.Restitution <= 1f)) && ((this.Hardness >= 0f) && (this.Hardness <= 1f)))
    {
        num = 1;
    }
    else
    {
        num = 0;
    }
    return (bool) ((byte) num);