Skip to content

Instantly share code, notes, and snippets.

View loveandsheep's full-sized avatar

Sheep loveandsheep

View GitHub Profile
@loveandsheep
loveandsheep / ofApp.cpp
Last active November 11, 2016 11:33 — forked from tado/ofApp.cpp
3次元空間の2つの点から平面の角度を計算
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0);
ofSetDepthTest(true);
ofSetRectMode(OF_RECTMODE_CENTER);
posA.set(-80, -90, -200); // 開始点を設定
posB.set(100, 120, 130); // 終了点を設定