Skip to content

build/api-examples/Pose.cpp

Complete program from the Pose API reference. Save it at the path shown above and use the build command in the reference page.

Source files · Download Pose.cpp

#include "raster3d.hpp"
using namespace gaspardos::graphics;

int main()
{
    Pose value;
    return value.translation.z == 4 ? 0 : 1;
}