Terpene cyclase that catalyzes the cyclization of geranyl diphosphate (GPP) to myrcene and linalool. The conserved DDXXXXD and NSE/DTE motifs are important for the catalytic activity, presumably through binding to Mg(2+). Belongs to the trichodiene synthase family.