Hello, in contrast to the documentation, it looks to me as if
gvr_compute_distorted_point does not apply chromatic aberration to the (x,y) output values.
Here is the code snippet I tested it with:
for(float x=0;x<1.0f;x+=0.01f){
for(float y=0;y<1.0f;y+=0.01f){
gvr_vec2f out[3];
gvr_compute_distorted_point(gvr_api_->GetContext(),GVR_LEFT_EYE,{x,y},out);
float diffX=out[2].x-out[0].x;
float diffY=out[2].y-out[0].y;
LOGD("Diff x y: %f %f %f",diffX,diffY,out[0].x);
}
}
It will always print '0' for the difference between red and blue channel