File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tests/RenderScriptTests/FBOTest/src/com/android/fbotest Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ void updateMeshInfo() {
105105 rsgMeshComputeBoundingBox(info->mMesh,
106106 &minX, &minY, &minZ,
107107 &maxX, &maxY, &maxZ);
108- info->bBoxMin = (minX, minY, minZ) ;
109- info->bBoxMax = (maxX, maxY, maxZ) ;
108+ info->bBoxMin = (float3){ minX, minY, minZ} ;
109+ info->bBoxMax = (float3){ maxX, maxY, maxZ} ;
110110 gLookAt += (info->bBoxMin + info->bBoxMax)*0.5f;
111111 }
112112 gLookAt = gLookAt / (float)size;
Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ void updateMeshInfo() {
104104 rsgMeshComputeBoundingBox(info->mMesh,
105105 &minX, &minY, &minZ,
106106 &maxX, &maxY, &maxZ);
107- info->bBoxMin = (minX, minY, minZ) ;
108- info->bBoxMax = (maxX, maxY, maxZ) ;
107+ info->bBoxMin = (float3){ minX, minY, minZ} ;
108+ info->bBoxMax = (float3){ maxX, maxY, maxZ} ;
109109 gLookAt += (info->bBoxMin + info->bBoxMax)*0.5f;
110110 }
111111 gLookAt = gLookAt / (float)size;
You can’t perform that action at this time.
0 commit comments