src/dk/itu/pitlab/libeyetracking/core/Utils.java
public static Eye addTo(Eye target, Eye other) {
        target.pupilCenterCoordinates = target.pupilCenterCoordinates.add(other.pupilCenterCoordinates);
        target.pupilSize += other.pupilSize;
        target.rawCoordinates = target.rawCoordinates.add(other.rawCoordinates);
        target.smoothedCoordinates = target.smoothedCoordinates.add(other.smoothedCoordinates);
        return target;
    }
/**
     * Adds two Eye's values in-place!
     *
     * @param target Values will be written here.
     * @param other Values to add to target.
     * @return A reference to target.
     */
Adds two Eye's values in-place.
@param target Values will be written here.
@param other Values to add to target.
@return A reference to target.
Adds two Eye ' s values in - place . @param target Values will be written here . @param other Values to add to target . @return A reference to target .
public static Eye addTo(Eye target, Eye other) {
        target.pupilCenterCoordinates = target.pupilCenterCoordinates.add(other.pupilCenterCoordinates);
        target.pupilSize += other.pupilSize;
        target.rawCoordinates = target.rawCoordinates.add(other.rawCoordinates);
        target.smoothedCoordinates = target.smoothedCoordinates.add(other.smoothedCoordinates);
        return target;
    }
public static Eye addTo ( Eye target , Eye other ) { target . pupilCenterCoordinates = target . pupilCenterCoordinates . add ( other . pupilCenterCoordinates ) ; target . pupilSize += other . pupilSize ; target . rawCoordinates = target . rawCoordinates . add ( other . rawCoordinates ) ; target . smoothedCoordinates = target . smoothedCoordinates . add ( other . smoothedCoordinates ) ; return target ; }
Adds two Eye's values in-place!
Adds two Eye ' s values in - place!