Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions xr/src/main/java/com/example/xr/compose/Volume.kt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fun ObjectInAVolume(show3DObject: Boolean) {
val volumeXOffset = 0.dp
val volumeYOffset = 0.dp
val volumeZOffset = 0.dp
// [END_EXCLUDE silent]
// [END_EXCLUDE]
val session = checkNotNull(LocalSession.current)
val scope = rememberCoroutineScope()
if (show3DObject) {
Expand All @@ -80,7 +80,6 @@ fun ObjectInAVolume(show3DObject: Boolean) {
modifier = SubspaceModifier
.offset(volumeXOffset, volumeYOffset, volumeZOffset) // Relative position
.scale(1.2f) // Scale to 120% of the size

) { parent ->
scope.launch {
// Load your 3D model here
Expand Down