私はPhysicalModel内で円の枠を作ろうとしています。私のウィジェットをPhysicalModelにラップしないと機能しますが、一度すると正方形の境界線ができます。 new PhysicalModel(
color: Colors.green,
child: new Container(
width: 50.0,
height: 50.0,
d
私はレイキャスターを作っています。レイオブジェクトはVect2 originとVect2 directionです。 originはカメラのベクトルです。方向はこのコードで計算されます var a = (cam_dir - fov) + (((fov * 2)/width) * x);
// x is the current x position of the screen. width is s