Program Listing for File Point3f.hpp

Return to documentation for file (include/depthai/common/Point3f.hpp)

#pragma once

// std
#include <cstdint>

// project
#include "depthai/utility/Serialization.hpp"

namespace dai {

struct Point3f {
    Point3f() = default;
    Point3f(float x, float y, float z) : x(x), y(y), z(z) {}
    float x = 0, y = 0, z = 0;
};

DEPTHAI_SERIALIZE_EXT(Point3f, x, y, z);

}  // namespace dai