コード例 #1
0
        public static void DrawSphere(Vector3 pos, float radius, Vector3 color)
        {
            IntPtr pDebugger = Debugger_t.GetInstance();

            Debugger_t.DrawSphere(pDebugger, pos.X, pos.Y, pos.Z, radius, color.X, color.Y, color.Z);
        }
コード例 #2
0
        public static void DrawLine(Vector3 pos1, Vector3 pos2, Vector3 color)
        {
            IntPtr pDebugger = Debugger_t.GetInstance();

            Debugger_t.DrawLine(pDebugger, pos1.X, pos1.Y, pos1.Z, pos2.X, pos2.Y, pos2.Z, color.X, color.Y, color.Z);
        }