You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#include <iostream>
|
|
|
|
#include "solid.hpp"
|
|
|
|
|
|
|
|
// TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
|
|
|
|
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
|
|
|
|
int main() {
|
|
|
|
Polyline axis{{}, {}, Vec3()};
|
|
|
|
ExtrudedSolidPolyline a({axis}, axis);
|
|
|
|
const Vec3 queryP = Vec3();
|
|
|
|
auto f = a.sdf(queryP);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// TIP See CLion help at <a
|
|
|
|
// href="https://www.jetbrains.com/help/clion/">jetbrains.com/help/clion/</a>.
|
|
|
|
// Also, you can try interactive lessons for CLion by selecting
|
|
|
|
// 'Help | Learn IDE Features' from the main menu.
|