0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

cscの作法 その577

Posted at

概要

cscの作法、調べてみた。
OpenRCF v2.8、見つけたので、windows11で、MSbuildしてみた。
調査してみた。

調査

プリミティブは、あるか
物理エンジンは、あるか
オービットは、あるのか

写真

image.png

結果

  • プリミティブは、あるか
    ある。
    ConeFrustum
    Pillar
    SquareFrustum
    Cuboid
    Circle
    Rectangle
    RoughRectangle
    Sphere
    RoughSphere
    LiDAR
    Arrow
    ThreeAxis
    PrickleBall

  • 物理エンジンは、あるか
    無い。

  • オービットは、あるのか
    ある。

サンプルコード

using System;
using System.Windows;
using OpenRCF;
using Vector = OpenRCF.Vector;


namespace OpenRCF
{
	partial class MainWindow: Window {
		ConeFrustum 	Cone = new ConeFrustum();
		Pillar 			Wheel = new Pillar();
		SquareFrustum 	sf = new SquareFrustum();
		Cuboid 			box = new Cuboid(1, 1, 1);
		Circle 			en = new Circle();
		Rectangle 		rt = new Rectangle();
		RoughRectangle 	rr = new RoughRectangle();
		Sphere 			Ball = new Sphere(0.25f);
		RoughSphere 	rs = new RoughSphere();
		LiDAR 			lider = new LiDAR();
		Arrow 			ya = new Arrow();
		ThreeAxis 		axis = new ThreeAxis(0.1f);
		PrickleBall		 pb = new PrickleBall();

		void Setup() {
			Cone.Position[2] = 10;
			Wheel.Position[2] = 9;
			sf.Position[2] = 8;
			box.Position[2] = 7;
			en.Position[2] = 6;
			rt.Position[2] = 5;
			rr.Position[2] = 4;
			Ball.Position[2] = 3;
			rs.Position[2] = 2;
			lider.Position[2] = 1;

			ya.Position[2] = -1;
			axis.Position[2] = -2;
			pb.Position[2] = -3;

		}
		void Loop() {
			
		}
		void Draw() {
			Cone.Draw();
			Wheel.Draw();
			sf.Draw();
			box.Draw();
			en.Draw();
			rt.Draw();
			rr.Draw();
			Ball.Draw();
			rs.Draw();
			lider.Draw();
			ya.Draw();
			axis.Draw();
			pb.Draw();

		}
		void Button1_Click(object sender, RoutedEventArgs e) {
			
		}
		void Button2_Click(object sender, RoutedEventArgs e) {
			
		}
		void Button3_Click(object sender, RoutedEventArgs e) {
			
		}
		void Button4_Click(object sender, RoutedEventArgs e) {
			
		}
		void Button5_Click(object sender, RoutedEventArgs e) {
			
		}
	}
}





以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?