Java interpolate interpolateAO(float a, float b, float c, float d)

Here you can find the source of interpolateAO(float a, float b, float c, float d)

Description

interpolate AO

License

Open Source License

Declaration

private static float interpolateAO(float a, float b, float c, float d) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static float interpolateAO(float a, float b, float c, float d) {

        return (a + b + c + d) / 4F;
    }//from  w w  w  .  j a  v a2 s .c o  m
}

Related

  1. interpolate(long x1, long x2, double y1, double y2, long x)
  2. interpolate(String input, String parameter, String value)
  3. interpolate(String value)
  4. interpolate2D(final float wi, final float wj, final float x00, final float x10, final float x01, final float x11)
  5. interpolateAngle(double oldAngle, double newAngle, double scale)
  6. interpolateBrightness(int a, int b, int c, int d)
  7. interpolateClamp(final double position, final double startPosition, final double endPosition, final double startValue, final double endValue)
  8. interpolateColor(double x, double y, int c0, int c1, int c2, int c3)
  9. interpolateColor(int a, int b, float w)