Exemplo n.º 1
0
        public static float GetVertexHeight(MaterialOptions data, ModeOptions mode, Vector3 worldPos, float time)
        {
            float height = GetWaveHeight(data.Wave, mode.Wave, worldPos, time);

            height += GetRippleHeight(mode.Ripple, worldPos);
            return(height);
        }
Exemplo n.º 2
0
 public static float GetVertexHeight(MaterialOptions data, ModeOptions mode, Vector3 worldPos)
 {
     return(GetVertexHeight(data, mode, worldPos, DefaultTime));
 }