Indian philosophy was ahead of European philosophy by only about 1,400 years.
In Critique of Pure Reason (1781), Immanuel Kant argued the way the world seems is not an accurate reflection of how it really is. He said our minds create a picture of the world based on what we perceive through our senses.
Vasubandhu was a 4th-century Buddhist monk. His Yogacara school teaches a form of metaphysical idealism-that the only things that exist are mental constructs. Other Buddhists had argued that we have no direct access to the external world, only to our perceptions; Vasubandhu further argued that our perceptions could exist entirely within our own minds. The world we think we observe is simply a projection of our desires and habits of thought.
Source credit: Grant Hardy, PhD, University of North Carolina