Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jul 24, 2023
1 parent be81054 commit d4403d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions examples/rust/objectron/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ fn log_baseline_objects(
rec_stream: &RecordingStream,
objects: &[objectron::Object],
) -> anyhow::Result<()> {
use rerun::components::{Box3D, Label, Color, Transform3D};
use rerun::components::{Box3D, Color, Label, Transform3D};
use rerun::transform::TranslationAndMat3;

let boxes = objects.iter().filter_map(|object| {
Expand Down Expand Up @@ -214,7 +214,7 @@ fn log_feature_points(
timepoint: TimePoint,
points: &objectron::ArPointCloud,
) -> anyhow::Result<()> {
use rerun::components::{InstanceKey, Color, Point3D};
use rerun::components::{Color, InstanceKey, Point3D};

let ids = points.identifier.iter();
let points = points.point.iter();
Expand Down Expand Up @@ -247,7 +247,7 @@ fn log_frame_annotations(
timepoint: &TimePoint,
annotations: &objectron::FrameAnnotation,
) -> anyhow::Result<()> {
use rerun::components::{InstanceKey, Color, LineStrip2D, Point2D};
use rerun::components::{Color, InstanceKey, LineStrip2D, Point2D};

for ann in &annotations.annotations {
// TODO(cmc): we shouldn't be using those preprojected 2D points to begin with, Rerun is
Expand Down
4 changes: 1 addition & 3 deletions examples/rust/raw_mesh/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ use std::path::PathBuf;

use anyhow::anyhow;
use bytes::Bytes;
use rerun::components::{
Color, Mesh3D, MeshId, RawMesh3D, Transform3D, Vec4D, ViewCoordinates,
};
use rerun::components::{Color, Mesh3D, MeshId, RawMesh3D, Transform3D, Vec4D, ViewCoordinates};
use rerun::transform::TranslationRotationScale3D;
use rerun::{
external::{re_log, re_memory::AccountingAllocator},
Expand Down
10 changes: 5 additions & 5 deletions rerun_py/src/python_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ use rerun::{

pub use rerun::{
components::{
AnnotationContext, AnnotationInfo, Arrow3D, Box3D, ClassDescription, ClassId,
DisconnectedSpace, DrawOrder, EncodedMesh3D, InstanceKey, KeypointId, Color,
LineStrip2D, LineStrip3D, Mat3x3, Mesh3D, MeshFormat, MeshId, Pinhole, Point3D, Quaternion,
Radius, RawMesh3D, Rect2D, Scalar, ScalarPlotProps, Size3D, Tensor, TensorData,
TensorDimension, TensorId, TextEntry, Transform3D, Vec2D, Vec3D, Vec4D, ViewCoordinates,
AnnotationContext, AnnotationInfo, Arrow3D, Box3D, ClassDescription, ClassId, Color,
DisconnectedSpace, DrawOrder, EncodedMesh3D, InstanceKey, KeypointId, LineStrip2D,
LineStrip3D, Mat3x3, Mesh3D, MeshFormat, MeshId, Pinhole, Point3D, Quaternion, Radius,
RawMesh3D, Rect2D, Scalar, ScalarPlotProps, Size3D, Tensor, TensorData, TensorDimension,
TensorId, TextEntry, Transform3D, Vec2D, Vec3D, Vec4D, ViewCoordinates,
},
coordinates::{Axis3, Handedness, Sign, SignedAxis3},
};
Expand Down

0 comments on commit d4403d0

Please sign in to comment.