Skip to content

Instantly share code, notes, and snippets.

View lowteq's full-sized avatar

lowteq lowteq

View GitHub Profile
@lowteq
lowteq / SteamVR_LaserPointer.cs
Created December 27, 2019 12:05
子のrigidbodyにもraycastが反応するように修正したSteamVR_LaserPointer.cs
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
using UnityEngine;
using System.Collections;
namespace Valve.VR.Extras
{
public class SteamVR_LaserPointer : MonoBehaviour
{
public SteamVR_Behaviour_Pose pose;
@lowteq
lowteq / gojo.py
Created December 2, 2019 15:05
ユークリッドの互除法
def gojo(m, n):
return m if n == 0 else gojo(n, m % n)
x, y = map(int, input().split())
print(gojo(x, y))